aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/faac/faac.SlackBuild9
-rw-r--r--audio/faac/faac.info2
2 files changed, 6 insertions, 5 deletions
diff --git a/audio/faac/faac.SlackBuild b/audio/faac/faac.SlackBuild
index 36e0930a1e5d..9f267909b9d7 100644
--- a/audio/faac/faac.SlackBuild
+++ b/audio/faac/faac.SlackBuild
@@ -31,6 +31,8 @@ VERSION=${VERSION:-1.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=${VERSION/./_}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -63,10 +65,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-mv $PRGNAM-$(echo $VERSION | tr . _ ) $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/audio/faac/faac.info b/audio/faac/faac.info
index f9d907070a84..1931cef7b0b9 100644
--- a/audio/faac/faac.info
+++ b/audio/faac/faac.info
@@ -1,7 +1,7 @@
PRGNAM="faac"
VERSION="1.30"
HOMEPAGE="https://sourceforge.net/projects/faac"
-DOWNLOAD="https://github.com/knik0/faac/archive/1_30/faac-1.30.tar.gz"
+DOWNLOAD="https://github.com/knik0/faac/archive/1_30/faac-1_30.tar.gz"
MD5SUM="8d61e6d55088e599aa91532d5e6995b0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""