1 # Contributor: David Baumgarten <David_Baumgarten@gmx.net>
7 pkgdesc="Python wrapper for Fast Light Tool Kit cross-platform GUI library"
8 url="http://pyfltk.sourceforge.net"
11 depends=('mesa' 'libgl' 'fltk2-static-svn>=r5940' 'python>=2.4')
12 makedepends=('python>=2.4' 'swig>=1.3.30')
13 source=(http://downloads.sourceforge.net/pyfltk/pyFltk2-$pkgver.tar.gz)
14 md5sums=('37cbab21f7fa0ea0da200f1cac675bbc')
17 mkdir -p $startdir/pkg/usr/share/pyfltk2/docs/
18 cp -R $startdir/src/$_origpkgname-$pkgver/fltk2/docs/* $startdir/pkg/usr/share/pyfltk2/docs/
19 mkdir -p $startdir/pkg/usr/share/pyfltk2/test/
20 cp -R $startdir/src/$_origpkgname-$pkgver/fltk2/test/* $startdir/pkg/usr/share/pyfltk2/test/
21 cd $startdir/src/$_origpkgname-$pkgver/python
23 cd $startdir/src/$_origpkgname-$pkgver
24 python setup.py build install --prefix=/usr --root=$startdir/pkg/