1 pkgname=compizconfig-python-git
4 pkgdesc="Compizconfig bindings for python - Latest Git Version"
6 url="http://compiz.org"
8 provides=('compizconfig-python')
9 conflicts=('compizconfig-python')
10 depends=('compiz-core-git' 'libcompizconfig-git' 'glib2' 'python2')
11 makedepends=('intltool' 'pkgconfig' 'cython2')
13 _gitroot="git://git.compiz.org/compiz/compizconfig/compizconfig-python/"
14 _gitname=compizconfig-python
18 msg "Connecting to GIT server...."
20 if [[ -d "${_gitname}" ]]; then
21 cd "${_gitname}" && git pull origin
22 msg "The local files are updated."
24 git clone "${_gitroot}" "${_gitname}"
28 env PKG_CONFIG_PATH="/usr/lib/pkgconfig:$PKG_CONFIG_PATH" \
29 python2 setup.py build
35 env PKG_CONFIG_PATH="/usr/lib/pkgconfig:$PKG_CONFIG_PATH" \
36 python2 setup.py install --prefix="/usr" --root="$pkgdir"