diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2016-01-24 12:54:59 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-26 18:59:05 +0700 |
commit | 49cbf80282164b8b362bacb3e76edcfbb9e08cff (patch) | |
tree | df106b3b04cfd0e4542aeaa12338900993956b49 /gis/pyshp/pyshp.SlackBuild | |
parent | beeb4e9acc6b600cfdc830e2e116e840556854d2 (diff) | |
download | slackbuilds-49cbf80282164b8b362bacb3e76edcfbb9e08cff.tar.gz |
gis/pyshp: Updated for version 1.2.3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/pyshp/pyshp.SlackBuild')
-rw-r--r-- | gis/pyshp/pyshp.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gis/pyshp/pyshp.SlackBuild b/gis/pyshp/pyshp.SlackBuild index 3e71164dc9..67d1962d9b 100644 --- a/gis/pyshp/pyshp.SlackBuild +++ b/gis/pyshp/pyshp.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyshp -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,11 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,7 +75,7 @@ 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.txt README.txt README.pdf $PKG/usr/doc/$PRGNAM-$VERSION +cp -a changelog.txt README.txt LICENSE.TXT $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |