summaryrefslogtreecommitdiffstats
path: root/gis/mapnik/mapnik.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/mapnik/mapnik.SlackBuild')
-rw-r--r--gis/mapnik/mapnik.SlackBuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild
index a44055b7fa..5e4283ac3c 100644
--- a/gis/mapnik/mapnik.SlackBuild
+++ b/gis/mapnik/mapnik.SlackBuild
@@ -22,7 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mapnik
-VERSION=${VERSION:-3.0.12}
+VERSION=${VERSION:-3.0.13}
+VARIANT=1.1.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +61,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION
-tar xjf $CWD/$PRGNAM-v$VERSION.tar.bz2
-cd $PRGNAM-v$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# mapnik needs files from git submodule
+cd deps/mapbox
+tar xvf $CWD/variant-$VARIANT.tar.gz -C variant --strip-components 1
+cd -
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \