From 6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jul 2012 00:01:52 +0000 Subject: Thu Jul 19 00:01:52 UTC 2012 --- community/mapnik/PKGBUILD | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) (limited to 'community/mapnik/PKGBUILD') 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 # Contributor: David Dent # Contributor: orbisvicis 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" } -- cgit v1.2.3-54-g00ecf