aboutsummaryrefslogtreecommitdiff
path: root/others
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-24 03:27:51 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-24 03:27:51 +0000
commit2468dd1383263e8c37c4a72f1ba203b1ae774841 (patch)
treede1e90d5e5fc9618cf4e1d1f40cbc3893bc01223 /others
parentbf125296cc8bd94148853b11595d8c350733b053 (diff)
downloadslackbuilds-2468dd1383263e8c37c4a72f1ba203b1ae774841.tar.gz
slackbuilds-2468dd1383263e8c37c4a72f1ba203b1ae774841.tar.bz2
generic.SlackBuild v0.7.2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1025 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'others')
-rwxr-xr-xothers/generic/generic.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/others/generic/generic.SlackBuild b/others/generic/generic.SlackBuild
index d3116c3f..6ff1ed9e 100755
--- a/others/generic/generic.SlackBuild
+++ b/others/generic/generic.SlackBuild
@@ -1,7 +1,7 @@
###################################################
## Generic template for SlackBuilds
##
-## Version 0.7.1 - Luis ( luis at riseup d0t net)
+## Version 0.7.2 - Luis ( luis at riseup d0t net)
##
###################################################
#!/bin/bash
@@ -32,7 +32,7 @@ TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
PREFIX=${PREFIX:=[[PREFIX]]}
-PKG_SRC="$SRC_DIR/$SRC_NAME-$SRC_VERSION"
+PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION"
# Set system libraries' path and optmization flags based on $ARCH
LIBDIR="$PREFIX/lib"
@@ -87,7 +87,7 @@ fi
gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG
# Untar
-cd "$SRC_DIR"
+cd "$TMP"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
cd "$PKG_SRC"