summaryrefslogtreecommitdiffstats
path: root/abs/core/pycairo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/pycairo/PKGBUILD')
-rw-r--r--abs/core/pycairo/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core/pycairo/PKGBUILD b/abs/core/pycairo/PKGBUILD
index 283ed43..51fa905 100644
--- a/abs/core/pycairo/PKGBUILD
+++ b/abs/core/pycairo/PKGBUILD
@@ -1,21 +1,24 @@
-# $Id: PKGBUILD 1020 2008-04-27 18:50:59Z jgc $
+# $Id: PKGBUILD 23420 2009-01-10 05:29:10Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=pycairo
-pkgver=1.4.12
-pkgrel=1
+pkgver=1.8.0
+pkgrel=2
pkgdesc="Python bindings for the cairo graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
-depends=('python>=2.5' 'cairo>=1.6.4')
+depends=('python' 'cairo>=1.8.6')
options=('!libtool')
-source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz)
+source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz
+ pycairo-1.8.0-threading.diff)
url="http://www.cairographics.org/"
-md5sums=('c63199d35b1e1d3c5133509f315f70d7')
+md5sums=('847f5377c32228a656819f5bd18eb6b4'
+ '5259928a3d58750d5c54af60d71f2493')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}"/pycairo-1.8.0-threading.diff || return 1
./configure --prefix=/usr || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR="${pkgdir}" install || return 1
}