summaryrefslogtreecommitdiff
path: root/libre/mapnik/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-15 18:38:50 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-15 18:38:50 +0100
commitb7a75eefda4acdfc433c81b7ecf26848b08b8a9b (patch)
tree723c88dee36dc41f45f59b1ec70c8ea856c7a421 /libre/mapnik/PKGBUILD
parent4c3dd10698a4fbccf00ce80f62432965482eaf2e (diff)
downloadabslibre-b7a75eefda4acdfc433c81b7ecf26848b08b8a9b.tar.gz
abslibre-b7a75eefda4acdfc433c81b7ecf26848b08b8a9b.tar.bz2
abslibre-b7a75eefda4acdfc433c81b7ecf26848b08b8a9b.zip
libre/mapnik: updated to 3.0.17
Diffstat (limited to 'libre/mapnik/PKGBUILD')
-rw-r--r--libre/mapnik/PKGBUILD42
1 files changed, 18 insertions, 24 deletions
diff --git a/libre/mapnik/PKGBUILD b/libre/mapnik/PKGBUILD
index d0bf01790..334f942fe 100644
--- a/libre/mapnik/PKGBUILD
+++ b/libre/mapnik/PKGBUILD
@@ -1,20 +1,21 @@
-# $Id: PKGBUILD 216759 2017-03-16 16:07:32Z spupykin $
-# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+ $Id$
# Maintainer (Arch): Jaroslav Lichtblau <svetlemodry@archlinux.org>
+# Contributor (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor (Arch): David Dent <thewinch@gmail.com>
# Contributor (Arch): orbisvicis <orbisvicis@gmail.com>
-# Maintainer: André Silva <emulatorman@hyperbola.info>
+# Contributor: André Silva <emulatorman@hyperbola.info>
pkgname=mapnik
-pkgver=3.0.13
-pkgrel=5.parabola1
-pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps, without nonfree mod_fastcgi recommendation"
-arch=('i686' 'x86_64' 'armv7h')
+pkgver=3.0.17
+pkgrel=2.parabola1
+pkgdesc="Free Toolkit for developing mapping applications and rendering beautiful maps, without nonfree mod_fastcgi recommendation"
+arch=('x86_64' 'i686' 'armv7h')
url="http://mapnik.org/"
license=('LGPL')
-depends=('boost-libs' 'icu' 'libpng' 'libjpeg' 'libtiff' 'freetype2'
- 'libxml2' 'python2' 'proj' 'cairo' 'cairomm' 'python2-cairo'
- 'postgresql-libs' 'postgis' 'gdal' 'curl' 'libltdl')
+depends=('boost-libs' 'icu' 'libpng' 'libjpeg-turbo' 'libtiff' 'freetype2'
+ 'libxml2' 'python2' 'proj' 'cairo' 'cairomm' 'python2-cairo'
+ 'postgresql-libs' 'postgis' 'gdal' 'curl' 'libtool')
+makedepends=('scons' 'boost' 'git')
optdepends=('libxslt: Web Map Service'
'python2-lxml: Web Map Service'
'python2-pillow: Web Map Service'
@@ -22,20 +23,13 @@ optdepends=('libxslt: Web Map Service'
'apache: Web Map Service'
'mod_fcgid: Web Map Service - or:'
'mod_wsgi2: Web Map Service')
-makedepends=('scons' 'boost' 'git')
-install="mapnik.install"
-source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver.tar.bz2"
- 'icu59.patch')
-sha256sums=('d6213d514a0e3cd84d9bfcb6d97208d169ffcaae1f36250f6555655cdfe57bcc'
- 'b391a775f28ec9bc7d5d2a8ef429789d8c6158bdf8023f395501fbfc8137cc22')
-
-prepare() {
- cd "$srcdir/$pkgname-v$pkgver"
- patch -Np1 -i ../icu59.patch
-}
+install=$pkgname.install
+source=(https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver.tar.bz2)
+sha512sums=('c1d46a42326d5339c60c30853e573b5cf7a02870597d91e3d60f4dc1f156db27b5d1981935d262cc6d1a2d26784cb7e1ac3cf23d14abf111471a8295a7f240bd')
build() {
- cd "$srcdir/$pkgname-v$pkgver"
+ cd "${srcdir}"/$pkgname-v$pkgver
+
PYTHON=python2
scons configure \
PREFIX="/usr" \
@@ -43,10 +37,10 @@ build() {
XMLPARSER=libxml2 \
DESTDIR="$pkgdir" \
CUSTOM_CXXFLAGS="-DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL"
- scons -j1 $MAKEFLAGS
+ scons -j1 # $MAKEFLAGS
}
package(){
- cd "$srcdir/$pkgname-v$pkgver"
+ cd "${srcdir}"/$pkgname-v$pkgver
scons install
}