1 # Contributor: Franco Tortoriello <franco (d0t) tortoriello (at) gmail (d0t) com>
3 pkgname=python-podsixnet-svn
6 pkgdesc="Python library for multiplayer networking games"
8 url="http://mccormick.cx/projects/PodSixNet/"
11 makedepends=('subversion' 'python2-distribute')
13 _svntrunk="http://podsixnet.googlecode.com/svn/podsixnet/"
19 if [[ -d ${_svnmod}/.svn ]]; then
20 (cd ${_svnmod} && svn up -r ${pkgver})
22 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf ${_svnmod}-build
29 cp -r ${_svnmod} ${_svnmod}-build
31 python2 setup.py install --root=${pkgdir}
32 cp -R examples "${pkgdir}/usr/lib/python2.7/site-packages/${_svnmod}"
33 rm -rf ${pkgdir}/usr/lib/python2.7/site-packages/*.egg-info