diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-03-26 02:43:41 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-03-28 02:22:12 +0700 |
commit | 1777070f315f4b0af163b592d7e67beeacac6418 (patch) | |
tree | be192234a744f1031eb22bdb68cad875d93fbff0 /libraries/discogs-client/discogs-client.SlackBuild | |
parent | 1c83b139dc8d953e8e1870a279020e542293bd12 (diff) | |
download | slackbuilds-1777070f315f4b0af163b592d7e67beeacac6418.tar.gz |
libraries/discogs-client: Updated for version 2.0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/discogs-client/discogs-client.SlackBuild')
-rw-r--r-- | libraries/discogs-client/discogs-client.SlackBuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/libraries/discogs-client/discogs-client.SlackBuild b/libraries/discogs-client/discogs-client.SlackBuild index ad7f7b1c67..56aff279c3 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 |