diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2014-02-02 15:49:15 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-08 11:09:51 -0600 |
commit | 1aca2cb56d42b2702c2b72ab70f82c1babf255da (patch) | |
tree | b3c849ef90eb60f67705ef313bce6b37d96be574 /gis/geopy/geopy.SlackBuild | |
parent | 40ba1d5bf045b341c1d74b7e3d5058f399ee9607 (diff) | |
download | slackbuilds-1aca2cb56d42b2702c2b72ab70f82c1babf255da.tar.gz |
gis/geopy: Updated for version 0.97.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'gis/geopy/geopy.SlackBuild')
-rw-r--r-- | gis/geopy/geopy.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gis/geopy/geopy.SlackBuild b/gis/geopy/geopy.SlackBuild index 798e5dcef4..f049110224 100644 --- a/gis/geopy/geopy.SlackBuild +++ b/gis/geopy/geopy.SlackBuild @@ -7,7 +7,7 @@ # Currently maintained by Benjamin Trigona-Harany PRGNAM=geopy -VERSION=${VERSION:-0.97} +VERSION=${VERSION:-0.97.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,13 +43,13 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-release-$VERSION -if [ -e $CWD/release-$VERSION.tar.gz ]; then - tar xvf $CWD/release-$VERSION.tar.gz +rm -rf $PRGNAM-$VERSION +if [ -e $CWD/$VERSION.tar.gz ]; then + tar xvf $CWD/$VERSION.tar.gz else - tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz fi -cd $PRGNAM-release-$VERSION +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -60,7 +60,7 @@ find -L . \ python setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.markdown RELEASES $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |