From 37cbbb55ea757f6aabfe047c9b49c67560bac6d5 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 18 Apr 2020 20:38:51 -0400 Subject: audio/faad2: Use correct github URL. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- audio/faad2/faad2.SlackBuild | 9 +++++---- audio/faad2/faad2.info | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'audio/faad2') 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="" -- cgit v1.2.3