diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-12-14 23:14:52 -0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-12-17 07:56:47 -0600 |
commit | 571a8db878b31e5c7632b49d52cf65dc9b3f01f1 (patch) | |
tree | 283fa43523e9ff7d9c610ac150b5f22ff7048a8b /audio/python-audiotools/python-audiotools.SlackBuild | |
parent | acc9b9a24f347b2492c1f19eda8af1d4992178ed (diff) |
audio/python-audiotools: Updated for version 2.16.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/python-audiotools/python-audiotools.SlackBuild')
-rw-r--r-- | audio/python-audiotools/python-audiotools.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/python-audiotools/python-audiotools.SlackBuild b/audio/python-audiotools/python-audiotools.SlackBuild index a3f3a62e4364..5140d1dcb25d 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 |