diff options
Diffstat (limited to 'audio/faac/faac.SlackBuild')
-rw-r--r-- | audio/faac/faac.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/faac/faac.SlackBuild b/audio/faac/faac.SlackBuild index 36e0930a1e..9f267909b9 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 \ |