summaryrefslogtreecommitdiff
path: root/community/mapnik/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
committerroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
commit6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (patch)
tree4c1b86f91ce9c742867b6eecd4857b20919cd713 /community/mapnik/PKGBUILD
parent63d179775e063452db6358e15b9847e7fc6c84b6 (diff)
Thu Jul 19 00:01:52 UTC 2012
Diffstat (limited to 'community/mapnik/PKGBUILD')
-rw-r--r--community/mapnik/PKGBUILD34
1 files changed, 11 insertions, 23 deletions
diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD
index 5c871b8b8..f41a431ff 100644
--- a/community/mapnik/PKGBUILD
+++ b/community/mapnik/PKGBUILD
@@ -1,19 +1,18 @@
-# $Id: PKGBUILD 69762 2012-04-23 09:15:36Z ibiru $
+# $Id: PKGBUILD 73999 2012-07-18 01:07:24Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: David Dent <thewinch@gmail.com>
# Contributor: orbisvicis <orbisvicis@gmail.com>
pkgname=mapnik
-pkgver=0.7.1
-pkgrel=16
+pkgver=2.0.1
+pkgrel=1
pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps"
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' 'libtool')
- # already in core ('zlib' 'sqlite3')
+ 'postgresql-libs' 'postgis' 'gdal' 'curl' 'libltdl')
optdepends=('libxslt: Web Map Service'
'python2-lxml: Web Map Service'
'python-imaging: Web Map Service'
@@ -21,24 +20,15 @@ optdepends=('libxslt: Web Map Service'
'apache: Web Map Service'
'mod_fastcgi: Web Map Service - or:'
'mod_fcgid: Web Map Service - or:'
- 'mod_wsgi: Web Map Service'
- )
-makedepends=('scons' 'boost') # already in core ('pkg-config')
+ 'mod_wsgi: Web Map Service')
+makedepends=('scons' 'boost')
install="mapnik.install"
-source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'gcc47.patch')
-md5sums=('8f65fda2a792518d6f6be8a85f62fc73'
- 'ce7933dc20de7e07427a6a6b5d4fd002')
+source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2")
+md5sums=('e3dd09991340e2568b99f46bac34b0a8')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 -i "${srcdir}"/gcc47.patch
-
- #patch SConstruct so libs end up in /usr/lib not /usr/lib64 on X86_64
- sed -i -e "/LIBDIR_SCHEMA=/s/lib64/lib/" SConstruct
- sed -i 's|png_ptr->io_ptr|png_get_io_ptr(png_ptr)|g' src/png_reader.cpp
- sed -i 's/-ansi -Wall/-ansi -DBOOST_FILESYSTEM_VERSION=2 -Wall/' SConstruct
-
+ cd "$srcdir/$pkgname-v$pkgver"
+ sed -i 's|lib64|lib|g' SConstruct
scons configure \
PREFIX="/usr" \
INPUT_PLUGINS=all \
@@ -47,8 +37,6 @@ build() {
}
package(){
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-v$pkgver"
scons install
- # fix permissions on SCons-autogenerated files
- chmod 644 "${pkgdir}/usr/lib/python2.7/site-packages/mapnik/paths.py"
}