1 # Contributor: Daniel Strandberg <esodax!nospam!@gmail.com>
4 pkgname=python-$_relname
7 pkgdesc='The Python Computer Graphics Kit'
9 url='http://cgkit.sourceforge.net'
10 license=('MPL' 'GPL' 'LGPL')
11 depends=('python2' 'boost')
13 optdepends=('lib3ds: to import/export 3DS files (cgkit require rebuild)'
14 'python-protocols: for scene management used in various places'
15 'python-opengl: required when doing OpenGL visualizations'
16 'python-imaging: required whenever images have to be processed'
17 'python-pygame: required when the viewer tool is used'
18 'python-numpy: some modules support reading/writing numpy arrays'
19 'python-pyode: for rigid body simulations using the ODEDynamics'
20 'python-pyserial: for the FlockOfBirds component')
21 source=(http://surfnet.dl.sourceforge.net/project/cgkit/cgkit/cgkit-2.0.0alpha9/cgkit-2.0.0alpha9.tar.gz)
22 md5sums=('f7736958a2973467d8633b946c0ec744')
25 cd $srcdir/$_relname-$pkgver/supportlib
30 cd $srcdir/$_relname-$pkgver
31 python2 setup.py install --root=$pkgdir --prefix=/usr || return 1