aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-18 20:36:24 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:28 +0700
commitee0245c7bebd1e3319cb75b9cc09435fc2f9f799 (patch)
tree7ce00ef576ae36a305ada11173d68db1c37cbc24 /audio
parentf11eee737c19a8565720c14ec62b83f007bc179a (diff)
audio/faac: Use correct github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-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 36e0930a1e5da..9f267909b9d73 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 f9d907070a84c..1931cef7b0b92 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=""