1 # Maintainer: dx <dx@dxzone.com.ar>
3 pkgname=pycairo-xcb-git
6 pkgdesc="Python bindings for the cairo graphics library with XCB enabled (git version)"
9 depends=('python2' 'cairo-xcb' 'xpyb-git')
11 url="http://www.cairographics.org/"
12 provides=('python2-cairo=1.8.10' 'pycairo' 'pycairo-git' 'pycairo-xcb')
13 makedepends=('git' 'xpyb-git')
14 conflicts=('python2-cairo' 'pycairo' 'pycairo-git' 'pycairo-xcb')
15 _gitroot='git://git.cairographics.org/git/'
19 export PYTHON=/usr/bin/python2
21 if [ -d ${srcdir}/$_gitname ]; then
26 git clone $_gitroot$_gitname
30 cd "${srcdir}/$_gitname"
31 ./autogen.sh --enable-xcb --prefix=/usr
36 cd "${srcdir}/${_gitname}"
37 make DESTDIR="${pkgdir}" install