updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / python-cgkit / PKGBUILD
blob79a68acbe136fe95b7d6bb2d427b178ba2189fe1
1 # Contributor: Daniel Strandberg <esodax!nospam!@gmail.com>
3 _relname=cgkit
4 pkgname=python-$_relname
5 pkgver=2.0.0alpha9
6 pkgrel=2
7 pkgdesc='The Python Computer Graphics Kit'
8 arch=('i686' 'x86_64')
9 url='http://cgkit.sourceforge.net'
10 license=('MPL' 'GPL' 'LGPL')
11 depends=('python2' 'boost')
12 makedepends=('scons')
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')
24 build() {
25   cd $srcdir/$_relname-$pkgver/supportlib
26   scons || return 1
29 package() {
30   cd $srcdir/$_relname-$pkgver
31   python2 setup.py install --root=$pkgdir --prefix=/usr || return 1
34 # vim:ts=2:sw=2:et: