summaryrefslogtreecommitdiff
path: root/multimedia/fdkaac/fdkaac.SlackBuild
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.strong@gmail.com>2015-03-22 10:45:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-22 10:45:35 +0700
commit16235dacaaf5b79eea4965c48330452c7bd5f970 (patch)
tree0a4ae572cc72589a4a3d701f7ef8ef07c7c99842 /multimedia/fdkaac/fdkaac.SlackBuild
parentbbfe87ec041d0b372a2686e8b64a7f039eb02ade (diff)
downloadslackbuilds-16235dacaaf5b79eea4965c48330452c7bd5f970.tar.gz
multimedia/fdkaac: Updated for version 0.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/fdkaac/fdkaac.SlackBuild')
-rw-r--r--multimedia/fdkaac/fdkaac.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/fdkaac/fdkaac.SlackBuild b/multimedia/fdkaac/fdkaac.SlackBuild
index 96904cbf37..e340240a8b 100644
--- a/multimedia/fdkaac/fdkaac.SlackBuild
+++ b/multimedia/fdkaac/fdkaac.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fdkaac
-VERSION=${VERSION:-0.6.1}
+VERSION=${VERSION:-0.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+if [ -e $CWD/v$VERSION.tar.gz ]; then
+ tar xvf $CWD/v$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
+
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \