mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/python-audiotools: Updated for version 2.22.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4034ec33c2
commit
e188c623a9
3 changed files with 5 additions and 22 deletions
|
@ -1,15 +0,0 @@
|
|||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
config etc/audiotools.cfg.new
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# Slackware build script for Python Audio Tools
|
||||
# Home Page: http://audiotools.sourceforge.net/
|
||||
|
||||
# Copyright (c) 2010-2013, Nishant Limbachia, Hoffman Estates, IL, USA
|
||||
# Copyright (c) 2010-2014, Nishant Limbachia, Hoffman Estates, IL, USA
|
||||
# <nishant _AT_ mnspace _DOT_ net>
|
||||
# All rights reserved.
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM="python-audiotools"
|
||||
VERSION=${VERSION:-2.20}
|
||||
VERSION=${VERSION:-2.22}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -80,7 +80,6 @@ python setup.py install --root=$PKG
|
|||
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
|
||||
|
@ -88,7 +87,6 @@ cp -a COPYING INSTALL TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python-audiotools"
|
||||
VERSION="2.20"
|
||||
VERSION="2.22"
|
||||
HOMEPAGE="http://audiotools.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/audiotools/audiotools-2.20.tar.gz"
|
||||
MD5SUM="a295105ad23689bdecd3952aa8736302"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/audiotools/audiotools-2.22.tar.gz"
|
||||
MD5SUM="8e373a6c8caf4d55bcd501c5ab6ea555"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue