diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-08-26 06:02:13 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-29 10:07:27 +0700 |
commit | 092bb6bb6c2896b384443ca05766cb76325a0168 (patch) | |
tree | ccafc042f1333f2b6c39430a081627514127de88 /libraries/dropbox-python/dropbox-python.SlackBuild | |
parent | 1c9c28e2ad499f49c4994d12d7eea3634403ee80 (diff) |
libraries/dropbox-python: Updated for version 3.14.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/dropbox-python/dropbox-python.SlackBuild')
-rw-r--r-- | libraries/dropbox-python/dropbox-python.SlackBuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libraries/dropbox-python/dropbox-python.SlackBuild b/libraries/dropbox-python/dropbox-python.SlackBuild index 74308b6f70d4c..96c860ed33e7b 100644 --- a/libraries/dropbox-python/dropbox-python.SlackBuild +++ b/libraries/dropbox-python/dropbox-python.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dropbox-python -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=dropbox-python SCRNAM=$(printf $PRGNAM | cut -c1-7) -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-3.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SCRNAM-$VERSION -unzip $CWD/$SCRNAM-$VERSION.zip +tar xvf $CWD/$SCRNAM-$VERSION.tar.gz cd $SCRNAM-$VERSION chown -R root:root . find -L . \ @@ -72,16 +72,11 @@ find -L . \ python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - 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 CHANGELOG.mdown LICENSE PKG-INFO README.rst TESTING conf.py \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |