diff options
-rw-r--r-- | audio/faad2/faad2.SlackBuild | 9 | ||||
-rw-r--r-- | audio/faad2/faad2.info | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/audio/faad2/faad2.SlackBuild b/audio/faad2/faad2.SlackBuild index 450f81f672d70..59154a33ba9bc 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 819807147bfc5..4cce5d7bf4204 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="" |