summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-09 23:50:41 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-09 23:50:41 (GMT)
commit66f7d76f1c19d015903c9ffc8bf814fa0a670890 (patch)
tree5362e877f4439d24bf1a21c817afd7bab924adf1
parent2d082807d7f2174075a1fb712d91c72ae2c774d7 (diff)
downloadlinhes_pkgbuild-66f7d76f1c19d015903c9ffc8bf814fa0a670890.zip
linhes_pkgbuild-66f7d76f1c19d015903c9ffc8bf814fa0a670890.tar.gz
linhes_pkgbuild-66f7d76f1c19d015903c9ffc8bf814fa0a670890.tar.bz2
pycairo: recompile
-rw-r--r--abs/core/python_modules/pycairo/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core/python_modules/pycairo/PKGBUILD b/abs/core/python_modules/pycairo/PKGBUILD
new file mode 100644
index 0000000..9adfcb5
--- /dev/null
+++ b/abs/core/python_modules/pycairo/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 96553 2010-10-22 08:47:59Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=pycairo
+pkgver=1.8.10
+pkgrel=4
+pkgdesc="Python bindings for the cairo graphics library"
+arch=('i686' 'x86_64')
+license=('LGPL' 'MPL')
+depends=('python2' 'cairo>=1.8.10')
+options=('!libtool')
+source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.gz)
+url="http://www.cairographics.org/pycairo"
+md5sums=('87421a6a70304120555ba7ba238f3dc3')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=python2 ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+}
+