Date: Wednesday, March 28, 2018 @ 03:21:12 Author: foutrelis Revision: 313014
archrelease: copy trunk to community-staging-x86_64 Added: mapnik/repos/community-staging-x86_64/ mapnik/repos/community-staging-x86_64/PKGBUILD (from rev 313013, mapnik/trunk/PKGBUILD) mapnik/repos/community-staging-x86_64/mapnik.install (from rev 313013, mapnik/trunk/mapnik.install) ----------------+ PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ mapnik.install | 11 +++++++++++ 2 files changed, 60 insertions(+) Copied: mapnik/repos/community-staging-x86_64/PKGBUILD (from rev 313013, mapnik/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-28 03:21:12 UTC (rev 313014) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: David Dent <thewi...@gmail.com> +# Contributor: orbisvicis <orbisvi...@gmail.com> + +pkgname=mapnik +pkgver=3.0.19 +pkgrel=2 +pkgdesc="Free Toolkit for developing mapping applications and rendering beautiful maps" +arch=('x86_64') +url="http://mapnik.org/" +license=('LGPL') +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' + 'python-nose: Web Map Service' + 'apache: Web Map Service' + 'mod_fcgid: Web Map Service - or:' + 'mod_wsgi2: Web Map Service') +install=$pkgname.install +source=(https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver.tar.bz2) +sha256sums=('5bf17afaf456e63021a4c948e25cf5e756782ef369226441a1e436adc3e790e9') + +build() { + cd "${srcdir}"/$pkgname-v$pkgver + + # http://site.icu-project.org/download/61#TOC-Migration-Issues + CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1' + + PYTHON=python2 + scons configure \ + PREFIX="/usr" \ + INPUT_PLUGINS=all \ + XMLPARSER=libxml2 \ + DESTDIR="$pkgdir" \ + CUSTOM_CXXFLAGS="$CXXFLAGS" \ + CUSTOM_LDFLAGS="$LDFLAGS" + scons $(expr "$MAKEFLAGS" : '.*\(\-j[0-9]\+\)') +} + +package(){ + cd "${srcdir}"/$pkgname-v$pkgver + scons install +} Copied: mapnik/repos/community-staging-x86_64/mapnik.install (from rev 313013, mapnik/trunk/mapnik.install) =================================================================== --- community-staging-x86_64/mapnik.install (rev 0) +++ community-staging-x86_64/mapnik.install 2018-03-28 03:21:12 UTC (rev 313014) @@ -0,0 +1,11 @@ +post_install() { + /sbin/ldconfig +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}