diff options
Diffstat (limited to 'extra/python2-cairo/PKGBUILD')
-rw-r--r-- | extra/python2-cairo/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/python2-cairo/PKGBUILD b/extra/python2-cairo/PKGBUILD new file mode 100644 index 000000000..3e8a7ced2 --- /dev/null +++ b/extra/python2-cairo/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 102340 2010-12-07 11:21:30Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=python2-cairo +pkgver=1.8.10 +pkgrel=1 +pkgdesc="Python2 bindings for the cairo graphics library" +arch=('i686' 'x86_64') +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 +} |