1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgdesc="python wrapper for Box2D"
7 url="http://code.google.com/p/pybox2d"
9 depends=('python-pygame' 'swig')
10 makedepends=('subversion')
14 _svntrunk=http://pybox2d.googlecode.com/svn/trunk/
20 if [ -d ${_svnmod}/.svn ]; then
21 (cd ${_svnmod} && svn up -r ${pkgver})
23 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 cp -r ${_svnmod} $_svnmod-build
32 python2 setup.py build
36 cd ${srcdir}/${_svnmod}-build
38 python2 setup.py install --root=${pkgdir}