# $Id: PKGBUILD 191615 2016-10-07 21:49:44Z jlichtblau $ # Maintainer (Arch): Sergej Pupykin # Maintainer (Arch): Jaroslav Lichtblau # Contributor (Arch): David Dent # Contributor (Arch): orbisvicis # Maintainer: André Silva pkgname=mapnik pkgver=3.0.12 pkgrel=2.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') url="http://mapnik.org/" license=('LGPL') depends=('boost-libs' 'icu' 'libpng' 'libjpeg' 'libtiff' 'freetype2' 'libxml2' 'python2' 'proj' 'cairo' 'cairomm' 'pycairo' 'postgresql-libs' 'postgis' 'gdal' 'curl' 'libltdl') optdepends=('libxslt: Web Map Service' 'python2-lxml: Web Map Service' 'python2-pillow: Web Map Service' 'python-nose: 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") sha256sums=('66a3d620c3ce543c91ea5b42a25079aca9a2a90f6079a2ce2a8714398fa57d6d') build() { cd "$srcdir/$pkgname-v$pkgver" PYTHON=python2 scons configure \ PREFIX="/usr" \ INPUT_PLUGINS=all \ XMLPARSER=libxml2 \ DESTDIR="$pkgdir" \ CUSTOM_CXXFLAGS="-DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL" scons $MAKEFLAGS } package(){ cd "$srcdir/$pkgname-v$pkgver" scons install }