summaryrefslogtreecommitdiff
path: root/audio/python-audiotools/python-audiotools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/python-audiotools/python-audiotools.SlackBuild')
-rw-r--r--audio/python-audiotools/python-audiotools.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/python-audiotools/python-audiotools.SlackBuild b/audio/python-audiotools/python-audiotools.SlackBuild
index a3f3a62e43..5140d1dcb2 100644
--- a/audio/python-audiotools/python-audiotools.SlackBuild
+++ b/audio/python-audiotools/python-audiotools.SlackBuild
@@ -3,7 +3,8 @@
# Slackware build script for Python Audio Tools
# Home Page: http://audiotools.sourceforge.net/
-# Copyright (c) 2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
+# Copyright (c) 2010, Nishant Limbachia, Hoffman Estates, IL, USA
+# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +26,11 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="python-audiotools"
-VERSION=${VERSION:-2.15}
+VERSION=${VERSION:-2.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM="audiotools"
+SRCNAM=$(echo $PRGNAM | cut -f2 -d-)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -63,7 +64,7 @@ set -e # exit on most errors
rm -rf $PKG $TMP/$SRCNAM-$VERSION
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM.$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find . \
@@ -80,11 +81,11 @@ mkdir -p $PKG/usr/man/man{1,5}
( cd docs; make install MAN_PATH=$PKG/usr/man )
mv $PKG/etc/audiotools.cfg $PKG/etc/audiotools.cfg.new
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL TODO docs/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING INSTALL TODO docs/audiotools-a4.pdf \
+ docs/audioformats-a4.pdf $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc