1 # Contributor: Thomas Kinnen <thomas.kinnen@gmail.com>
5 pkgdesc="pyenet is a python wrapper for the ENet library"
6 url="http://code.google.com/p/pyenet"
11 depends=('python2' 'cython')
12 makedepends=('subversion')
13 _svntrunk="http://pyenet.googlecode.com/svn/trunk/"
15 _enetpackage="enet-1.3.1"
16 source=(http://enet.bespin.org/download/${_enetpackage}.tar.gz)
17 md5sums=('d31adbd50924fe39aab3c23308f58959')
22 if [ -d ./$_svnmod ]; then
26 svn co $_svntrunk $_svnmod
30 mv -T $_enetpackage pyenet/enet/
33 python2 setup.py build
34 python2 setup.py install --home=$pkgdir/usr --optimize=1 || return 1
35 mkdir -p $pkgdir/usr/lib/python2.7/site-packages/
36 mv $pkgdir/usr/lib/python/* $pkgdir/usr/lib/python2.7/site-packages/
37 rm -r $pkgdir/usr/lib/python