1 # Contributor: Daniel Strandberg <esodax!nospam!@gmail.com>
4 pkgname=python2-$_relname-git
7 pkgdesc='Bindings for The Open Dynamics Engine'
9 url='http://pyode.sourceforge.net/'
11 depends=('python2' 'ode')
12 makedepends=('git' 'pyrex')
14 _gitroot='git://pyode.git.sourceforge.net/gitroot/pyode/pyode'
16 _buildir="$srcdir/$_gitname-build"
20 if [ -d $_gitname ]; then
21 cd $_gitname && git pull origin || return 1
23 git clone $_gitroot || return 1
26 git clone $srcdir/$_gitname $_buildir
29 python2 setup.py build || return 1
34 python2 setup.py install --root=$pkgdir --prefix=/usr || return 1