summaryrefslogtreecommitdiff
path: root/community/mapnik/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mapnik/PKGBUILD')
-rw-r--r--community/mapnik/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD
index a73a6cdf4..5c871b8b8 100644
--- a/community/mapnik/PKGBUILD
+++ b/community/mapnik/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 67899 2012-03-15 23:14:31Z ebelanger $
+# $Id: PKGBUILD 69762 2012-04-23 09:15:36Z 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=15
-pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps."
+pkgrel=16
+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')
@@ -24,13 +24,15 @@ optdepends=('libxslt: Web Map Service'
'mod_wsgi: Web Map Service'
)
makedepends=('scons' 'boost') # already in core ('pkg-config')
-conflicts=('mapnik-svn')
install="mapnik.install"
-source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('8f65fda2a792518d6f6be8a85f62fc73')
+source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'gcc47.patch')
+md5sums=('8f65fda2a792518d6f6be8a85f62fc73'
+ 'ce7933dc20de7e07427a6a6b5d4fd002')
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
@@ -43,6 +45,7 @@ build() {
DESTDIR="$pkgdir"
scons
}
+
package(){
cd "$srcdir/$pkgname-$pkgver"
scons install