summaryrefslogtreecommitdiff
path: root/audio/quodlibet/quodlibet.SlackBuild
diff options
context:
space:
mode:
authorNick Smallbone <nick@smallbone.se>2022-02-04 17:19:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 12:52:27 +0700
commitb25b40d63c2ea16eed5fe19fba47b553866e7d4d (patch)
tree6a6ec9e76ca5b5af5fa0dd6db1ea9854a3d181a1 /audio/quodlibet/quodlibet.SlackBuild
parentfa904e3b2234ccf31bffaeee8d3155028c2b53e3 (diff)
downloadslackbuilds-b25b40d63c2ea16eed5fe19fba47b553866e7d4d.tar.gz
audio/quodlibet: Updated for version 4.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/quodlibet/quodlibet.SlackBuild')
-rw-r--r--audio/quodlibet/quodlibet.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/quodlibet/quodlibet.SlackBuild b/audio/quodlibet/quodlibet.SlackBuild
index 00453f0b3a..0ba9567f8b 100644
--- a/audio/quodlibet/quodlibet.SlackBuild
+++ b/audio/quodlibet/quodlibet.SlackBuild
@@ -4,7 +4,7 @@
#
# Written by K.D.Hedger kdhedger@yahoo.co.uk
# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# Copyright 2020 Nick Smallbone, Gothenburg, Sweden.
+# Copyright 2020-2022 Nick Smallbone, Gothenburg, Sweden.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=quodlibet
-VERSION=${VERSION:-3.9.1}
+VERSION=${VERSION:-4.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,30 +68,27 @@ fi
set -e
-SRCNAM="release"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$SRCNAM-$VERSION.tar.gz
-mv $PRGNAM-$SRCNAM-$VERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION/$PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
DOCS=${DOCS:-no}
if [ $DOCS = yes ] || [ $DOCS = y ] || [ $DOCS = true ]; then
- python setup.py build_sphinx
+ python3 setup.py build_sphinx
cp -a build/sphinx $PKG/usr/doc/$PRGNAM-$VERSION/user_guide
fi