diff options
Diffstat (limited to 'libraries/libfdk-aac/libfdk-aac.SlackBuild')
-rw-r--r-- | libraries/libfdk-aac/libfdk-aac.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/libfdk-aac/libfdk-aac.SlackBuild b/libraries/libfdk-aac/libfdk-aac.SlackBuild index 232274575e32f..66e8512f05db7 100644 --- a/libraries/libfdk-aac/libfdk-aac.SlackBuild +++ b/libraries/libfdk-aac/libfdk-aac.SlackBuild @@ -24,8 +24,7 @@ PRGNAM=libfdk-aac SRCNAM=fdk-aac -TARBALLPREFIX=v -VERSION=${VERSION:-0.1.3} +VERSION=${VERSION:-0.1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,7 +61,13 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$TARBALLPREFIX$VERSION.tar.gz + +if [ -e $CWD/v$VERSION.tar.gz ]; then + tar xvf $CWD/v$VERSION.tar.gz +else + tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +fi + cd $SRCNAM-$VERSION chown -R root:root . find -L . \ |