aboutsummaryrefslogtreecommitdiff
path: root/system/aespipe
diff options
context:
space:
mode:
Diffstat (limited to 'system/aespipe')
-rw-r--r--system/aespipe/aespipe.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/aespipe/aespipe.SlackBuild b/system/aespipe/aespipe.SlackBuild
index 75ab4ea035c4c..8c2bb5f0f4d77 100644
--- a/system/aespipe/aespipe.SlackBuild
+++ b/system/aespipe/aespipe.SlackBuild
@@ -27,10 +27,12 @@
# 2010 May 25 - initial release
PRGNAM=aespipe
-VERSION=${VERSION:-v2.4c}
+VERSION=${VERSION:-2.4c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER="v${VERSION}"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -67,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \