aboutsummaryrefslogtreecommitdiff
path: root/libraries/discogs-client/discogs-client.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/discogs-client/discogs-client.SlackBuild')
-rw-r--r--libraries/discogs-client/discogs-client.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/libraries/discogs-client/discogs-client.SlackBuild b/libraries/discogs-client/discogs-client.SlackBuild
index ad7f7b1c6734d..56aff279c384c 100644
--- a/libraries/discogs-client/discogs-client.SlackBuild
+++ b/libraries/discogs-client/discogs-client.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for discogs-client
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014 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=discogs-client
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,8 +54,6 @@ else
LIBDIRSUFFIX=""
fi
-PYTHON=python
-
set -e
rm -rf $PKG
@@ -71,15 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-$PYTHON setup.py install --root=$PKG
+python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- PKG-INFO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install