blob: c63f6afdad692f5ac9b2527302766833f5542df3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $Id: PKGBUILD 174955 2016-05-12 11:38:02Z bpiotrowski $
# 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.10
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')
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=('c004b89e3b45c9cea0eca042ed71e39a')
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
}
|