1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Ryan Coyner <rcoyner@gmail.com>
7 pkgdesc="An open source library for developing multi-touch applications"
11 depends=('python-opengl' 'python-pygame' 'python-imaging'
12 'gstreamer0.10-python' 'cython' 'mtdev')
13 conflicts=('pymt-git')
14 source=("https://github.com/tito/$pkgname/tarball/$pkgver")
15 md5sums=('58f410fc4410e0ca46fce49697626ba0')
18 cd "$srcdir/tito-$pkgname-90ded4b"
20 export PYTHON="python2"
23 sed -e "s_\(env python\).*_\12_" \
24 -e "s_\(bin/python\).*_\12_" \
25 -i `grep -Erl "(env python|bin/python)" .`
28 sed -i "111 s_\$_ 'css',_" setup.py
31 sed -i "s|\(self._indices = \)'|\1<bytes>'|" pymt/c_ext/c_graphics.pyx
33 python2 setup.py build
37 cd "$srcdir/tito-$pkgname-90ded4b"
39 python2 setup.py install --root="$pkgdir/"
42 # vim:set ts=2 sw=2 et: