summaryrefslogtreecommitdiff
path: root/libraries/audioread/audioread.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/audioread/audioread.SlackBuild')
-rw-r--r--libraries/audioread/audioread.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/audioread/audioread.SlackBuild b/libraries/audioread/audioread.SlackBuild
index 0a43c1592f..57f117152c 100644
--- a/libraries/audioread/audioread.SlackBuild
+++ b/libraries/audioread/audioread.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for audioread
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=audioread
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,7 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install