From 66f7d76f1c19d015903c9ffc8bf814fa0a670890 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Thu, 9 Dec 2010 23:50:41 +0000 Subject: pycairo: recompile --- abs/core/python_modules/pycairo/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/core/python_modules/pycairo/PKGBUILD 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 + +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 +} + -- cgit v0.12