diff options
author | root <root@rshg047.dnsready.net> | 2011-05-05 19:02:44 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-05 19:02:44 +0000 |
commit | ef61aa5a9cead170fa18dba44609c32bbf18306a (patch) | |
tree | 82af53ec1018f58868b80cdf680a9c4ec5df1538 /extra/python2-cairo/PKGBUILD | |
parent | ab1410d33401cf1fc4a384bb0b2d9901c8fe8d14 (diff) |
Thu May 5 19:02:44 UTC 2011
Diffstat (limited to 'extra/python2-cairo/PKGBUILD')
-rw-r--r-- | extra/python2-cairo/PKGBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/python2-cairo/PKGBUILD b/extra/python2-cairo/PKGBUILD index 3e8a7ced2..0f2fb1462 100644 --- a/extra/python2-cairo/PKGBUILD +++ b/extra/python2-cairo/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 102340 2010-12-07 11:21:30Z jgc $ +# $Id: PKGBUILD 122022 2011-05-01 17:05:32Z angvp $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=python2-cairo -pkgver=1.8.10 +pkgver=1.10.0 pkgrel=1 pkgdesc="Python2 bindings for the cairo graphics library" arch=('i686' 'x86_64') @@ -12,17 +12,21 @@ options=('!libtool') provides=("pycairo=${pkgver}") conflicts=('pycairo') replaces=('pycairo') -source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.gz) +source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.bz2) url="http://www.cairographics.org/pycairo" -md5sums=('87421a6a70304120555ba7ba238f3dc3') +md5sums=('20337132c4ab06c1146ad384d55372c5') build() { - cd "${srcdir}/pycairo-${pkgver}" - PYTHON=python2 ./configure --prefix=/usr - make + cd "${srcdir}/py2cairo-${pkgver}" + sed -i 's:bin/env python:bin/env python2:' waf + python2 ./waf --version + pushd .waf-* + popd + PYTHON=/usr/bin/python2 ./waf configure --prefix=/usr + PYTHON=/usr/bin/python2 ./waf build } package() { - cd "${srcdir}/pycairo-${pkgver}" - make DESTDIR="${pkgdir}" install + cd "${srcdir}/py2cairo-${pkgver}" + PYTHON=/usr/bin/python2 ./waf install --destdir="${pkgdir}" } |