diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2016-07-06 15:45:14 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-09 08:00:25 +0700 |
commit | 0d3ace37ee8fb9b90e8c11b2682a0c1d9af4c704 (patch) | |
tree | eab7a004057fd35836738580042f82f7788ad879 /libraries/facebook-python/facebook-python.SlackBuild | |
parent | 535db9bfe5b64467b6b9d0b30bfaf903b1a92b6f (diff) |
libraries/facebook-python: Updated for version 1.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/facebook-python/facebook-python.SlackBuild')
-rw-r--r-- | libraries/facebook-python/facebook-python.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/facebook-python/facebook-python.SlackBuild b/libraries/facebook-python/facebook-python.SlackBuild index 95a37478e5286..0798721222dd8 100644 --- a/libraries/facebook-python/facebook-python.SlackBuild +++ b/libraries/facebook-python/facebook-python.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for facebook-python -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=facebook-python SCRNAM=facebook-sdk -VERSION=${VERSION:-0.4.0} +VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,14 +61,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SCRNAM-$VERSION -tar xvf $CWD/$SCRNAM-$VERSION.tar.gz +tar xvf $CWD/$SCRNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $SCRNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG @@ -80,7 +80,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst CONTRIBUTING.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |