summaryrefslogtreecommitdiff
path: root/libraries/dropbox-python/dropbox-python.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/dropbox-python/dropbox-python.SlackBuild')
-rw-r--r--libraries/dropbox-python/dropbox-python.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/libraries/dropbox-python/dropbox-python.SlackBuild b/libraries/dropbox-python/dropbox-python.SlackBuild
index 74308b6f70..96c860ed33 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