diff options
author | Andrew Strong <andrew.david.strong@gmail.com> | 2015-03-22 10:43:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-03-22 10:43:24 +0700 |
commit | bbfe87ec041d0b372a2686e8b64a7f039eb02ade (patch) | |
tree | 4b4df2f3aa694e17f0f4ba1ea6245962fe25d5c9 /libraries/libfdk-aac/libfdk-aac.SlackBuild | |
parent | bfc8052b50c630a9b0ebefd5aef75dc216400be1 (diff) |
libraries/libfdk-aac: Updated for version 0.1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 . \ |