1 # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
2 # Contributor: Dan Serban
3 # Contributor: Fabio Volpe
8 pkgdesc="A wrapper around the 2d physics library Chipmunk"
10 url=http://code.google.com/p/pymunk/
12 depends=(python2 chipmunk)
13 source=("http://pymunk.googlecode.com/files/$pkgname-$pkgver.zip")
14 md5sums=('850615bae6990d5c39d530f45d1eed29')
20 python2 setup.py build
25 python2 setup.py install --root="$pkgdir"
26 _site_packages=$(python2 -sSc 'import site; print site.getsitepackages()[0]')
27 ln -s "/usr/lib/libchipmunk.so" "$pkgdir$_site_packages/$pkgname/libchipmunk64.so"
28 ln -s "/usr/lib/libchipmunk.so" "$pkgdir$_site_packages/$pkgname/libchipmunk.so"