summaryrefslogtreecommitdiff
path: root/python/geopy/geopy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/geopy/geopy.SlackBuild')
-rw-r--r--python/geopy/geopy.SlackBuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/python/geopy/geopy.SlackBuild b/python/geopy/geopy.SlackBuild
index dee0cc2703..a7979bc675 100644
--- a/python/geopy/geopy.SlackBuild
+++ b/python/geopy/geopy.SlackBuild
@@ -3,10 +3,11 @@
# SlackBuild for geopy python library
# Written by Dominik Drobek <dominik.drobek (at) o2.pl>
-# Currently maintained by Francisco Sokol <chico.sokol@gmail.com>
+# Formerly maintained by Francisco Sokol <chico.sokol@gmail.com>
+# Currently maintained by Benjamin Trigona-Harany
PRGNAM=geopy
-VERSION=${VERSION:-0.94.1}
+VERSION=${VERSION:-0.96.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,9 +43,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-release-$VERSION
+if [ -e $CWD/release-$VERSION.tar.gz ]; then
+ tar xvf $CWD/release-$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
+fi
+cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -55,7 +60,7 @@ find -L . \
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.markdown RELEASES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install