summaryrefslogtreecommitdiff
path: root/gis/pyproj/pyproj.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-01-24 12:51:14 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:59:05 +0700
commitbeeb4e9acc6b600cfdc830e2e116e840556854d2 (patch)
tree39ffae4a3253db114681c8671922bf2a4a9e927e /gis/pyproj/pyproj.SlackBuild
parent029ab5dc7597f71a7a884c3dc443ed3d3740de8e (diff)
downloadslackbuilds-beeb4e9acc6b600cfdc830e2e116e840556854d2.tar.gz
gis/pyproj: Updated for version 1.9.5.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/pyproj/pyproj.SlackBuild')
-rw-r--r--gis/pyproj/pyproj.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/gis/pyproj/pyproj.SlackBuild b/gis/pyproj/pyproj.SlackBuild
index 967b615712..3e4884d123 100644
--- a/gis/pyproj/pyproj.SlackBuild
+++ b/gis/pyproj/pyproj.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyproj
-VERSION=${VERSION:-1.9.3}
+VERSION=${VERSION:-1.9.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +59,9 @@ 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-${VERSION}rel
+tar xvf $CWD/$PRGNAM-${VERSION}rel.tar.gz || tar xvf $CWD/v${VERSION}rel.tar.gz
+cd $PRGNAM-${VERSION}rel
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -75,7 +75,7 @@ find $PKG | xargs 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 LICENSE_geographiclib LICENSE_proj4 PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changelog LICENSE_proj4 LICENSE_proj4 README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install