diff options
Diffstat (limited to 'libre/mapnik')
-rw-r--r-- | libre/mapnik/PKGBUILD | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/libre/mapnik/PKGBUILD b/libre/mapnik/PKGBUILD index cede82f0a..17d707464 100644 --- a/libre/mapnik/PKGBUILD +++ b/libre/mapnik/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 153941 2015-12-21 17:19:37Z foutrelis $ +# $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=2.2.0.655.g1b0f4d6 -pkgrel=4.parabola1 +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/" @@ -23,23 +23,12 @@ optdepends=('libxslt: Web Map Service' 'mod_wsgi2: Web Map Service') makedepends=('scons' 'boost' 'git') install="mapnik.install" -#source=("$pkgname-$pkgver.tar.gz::https://github.com/mapnik/mapnik/archive/v$pkgver.tar.gz") -source=("git://github.com/mapnik/mapnik.git#branch=2.3.x") -md5sums=('SKIP') - -pkgver() { - cd "$srcdir/$pkgname" - - git describe --long | cut -c2- | sed 's/-/./g' -} +source=("https://mapnik.s3.amazonaws.com/dist/v$pkgver/mapnik-v$pkgver.tar.bz2") +md5sums=('13e8b6ad763172d56731e610a59b3681') build() { - cd "$srcdir/$pkgname" - - sed -i 's|lib64|lib|g' SConstruct - sed -i 's|python|python2|' \ - utils/performance/mapnik-speed-check \ - utils/upgrade_map_xml/*.py + cd "$srcdir/$pkgname-v$pkgver" + PYTHON=python2 scons configure \ PREFIX="/usr" \ INPUT_PLUGINS=all \ @@ -48,6 +37,6 @@ build() { } package(){ - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname-v$pkgver" scons install } |