summaryrefslogtreecommitdiffstats
path: root/gis/qmapshack/qmapshack.SlackBuild
diff options
context:
space:
mode:
author Daniel Stolarski2019-08-09 20:13:19 +0200
committer Willy Sudiarto Raharjo2019-08-09 20:13:34 +0200
commit90a8aceb27ba0c8dad7362aef0481d355823aa3a (patch)
tree4b3b35e001a7b0492732910d6aa4a84e050bbc7a /gis/qmapshack/qmapshack.SlackBuild
parent66062b50d0b8857cd66eb00a08cef9b543c1c756 (diff)
downloadslackbuilds-90a8aceb27ba0c8dad7362aef0481d355823aa3a.tar.gz
gis/qmapshack: Updated for version 1.13.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qmapshack/qmapshack.SlackBuild')
-rw-r--r--gis/qmapshack/qmapshack.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild
index e4b7fc87ca..f20aa79add 100644
--- a/gis/qmapshack/qmapshack.SlackBuild
+++ b/gis/qmapshack/qmapshack.SlackBuild
@@ -10,8 +10,8 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=qmapshack
-VERSION=${VERSION:-1.13.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.13.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -50,14 +50,13 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
+
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Qmapshack expects proj to provide package information files created by cmake, the proj version on slackbuilds.org, however, is built using autotools, thus the config script fails. Again, thx to pAcAs for the hint.
-cat $CWD/FindPROJ4.cmake > cmake/Modules/FindPROJ4.cmake
mkdir -p build
cd build