diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/pycairo/PKGBUILD | 26 |
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 +} + |