summaryrefslogtreecommitdiff
path: root/audio/faad2
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-18 20:38:51 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:28 +0700
commit37cbbb55ea757f6aabfe047c9b49c67560bac6d5 (patch)
tree3b563ede498037ea74b2a5c5dca4269dbde811e4 /audio/faad2
parentee0245c7bebd1e3319cb75b9cc09435fc2f9f799 (diff)
downloadslackbuilds-37cbbb55ea757f6aabfe047c9b49c67560bac6d5.tar.gz
audio/faad2: 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/faad2')
-rw-r--r--audio/faad2/faad2.SlackBuild9
-rw-r--r--audio/faad2/faad2.info2
2 files changed, 6 insertions, 5 deletions
diff --git a/audio/faad2/faad2.SlackBuild b/audio/faad2/faad2.SlackBuild
index 450f81f672..59154a33ba 100644
--- a/audio/faad2/faad2.SlackBuild
+++ b/audio/faad2/faad2.SlackBuild
@@ -28,6 +28,8 @@ VERSION=${VERSION:-2.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=${VERSION//./_}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -60,10 +62,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/faad2/faad2.info b/audio/faad2/faad2.info
index 819807147b..4cce5d7bf4 100644
--- a/audio/faad2/faad2.info
+++ b/audio/faad2/faad2.info
@@ -1,7 +1,7 @@
PRGNAM="faad2"
VERSION="2.9.1"
HOMEPAGE="https://github.com/knik0/faad2"
-DOWNLOAD="https://github.com/knik0/faad2/archive/2_9_1/faad2-2.9.1.tar.gz"
+DOWNLOAD="https://github.com/knik0/faad2/archive/2_9_1/faad2-2_9_1.tar.gz"
MD5SUM="a880fadc4fc4a564d0833f0c1e7c08b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""