# $Id: PKGBUILD 102340 2010-12-07 11:21:30Z jgc $ # Maintainer: Jan de Groot pkgname=python2-cairo pkgver=1.8.10 pkgrel=1 pkgdesc="Python2 bindings for the cairo graphics library" arch=('i686' 'x86_64' 'mips64el') license=('LGPL' 'MPL') depends=('python2' 'cairo') options=('!libtool') provides=("pycairo=${pkgver}") conflicts=('pycairo') replaces=('pycairo') source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.gz) url="http://www.cairographics.org/pycairo" md5sums=('87421a6a70304120555ba7ba238f3dc3') build() { cd "${srcdir}/pycairo-${pkgver}" PYTHON=python2 ./configure --prefix=/usr make } package() { cd "${srcdir}/pycairo-${pkgver}" make DESTDIR="${pkgdir}" install }