summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSamuel Mesa2018-10-21 14:08:23 -0500
committerSamuel Mesa2018-10-21 14:08:23 -0500
commitb83724d0771eb754a538899510118d2f8c1b1e19 (patch)
treebfd80db56956ca9a7cdc887d248e3f2551ef0a47 /PKGBUILD
parent2388b968609b3a433522d494932a8b876ce1497b (diff)
downloadaur-python-mapnik.tar.gz
Fix error building with PYCAIRO
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a014b9b1534..45450076f84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-mapnik
pkgver=3.0.16
-pkgrel=1
+pkgrel=2
pkgdesc="Python3 bindings for Mapnik"
url="https://github.com/mapnik/python-mapnik"
@@ -18,6 +18,7 @@ sha1sums=('8e30049954b14282667677a5d5a145eddedfc8df')
package() {
cd python-mapnik-$pkgver
- PYCAIRO=true python setup.py install --root="$pkgdir" --optimize=1
+ export PYCAIRO_NO_IMPORT
+ python setup.py install --root="$pkgdir" --optimize=1
}