1 # Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
3 pkgname=boostpythongenerator-git
4 _pkgname=boostpythongenerator
7 pkgdesc="Python binding generator based on Boost.Python"
10 url="http://www.pyside.org"
11 depends=('apiextractor-git' 'python' 'qt')
12 makedepends=('cmake' 'git' 'automoc4')
15 _gitroot='git://gitorious.org/pyside/boostpythongenerator.git'
16 _gitname='boostpythongenerator'
21 msg "Connecting to gitorious GIT server...."
23 if [ -d ${srcdir}/$_gitname ] ; then
26 git submodule update --init
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
31 git submodule update --init
34 msg "GIT checkout done."
37 if [ -d build ] ; then
42 cmake ${srcdir}/$_gitname \
43 -DCMAKE_INSTALL_PREFIX=/usr || return 1
45 make DESTDIR=$startdir/pkg install