# $Id: PKGBUILD 160421 2016-02-05 18:34:59Z spupykin $ # Maintainer (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@parabola.nu> pkgname=mapnik pkgver=3.0.9 pkgrel=1.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') 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://mapnik.s3.amazonaws.com/dist/v$pkgver/mapnik-v$pkgver.tar.bz2") md5sums=('13e8b6ad763172d56731e610a59b3681') build() { cd "$srcdir/$pkgname-v$pkgver" PYTHON=python2 scons configure \ PREFIX="/usr" \ INPUT_PLUGINS=all \ DESTDIR="$pkgdir" scons $MAKEFLAGS } package(){ cd "$srcdir/$pkgname-v$pkgver" scons install }