updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / kivy / PKGBUILD
blobfea7bb22236efa0b68def5c91ab7826ce4ebb0bf
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=Kivy
4 pkgname=kivy
5 pkgver=1.0.9
6 pkgrel=1
7 pkgdesc="A python module for developing multi-touch enabled media rich applications."
8 arch=(i686 x86_64)
9 url="http://kivy.org/"
10 license=('LGPL')
11 depends=('python-pygame' 'python-opengl' 'gstreamer0.10-python' 'python-imaging' 'cython2' 'mtdev')
12 source=("http://pypi.python.org/packages/source/K/$_pkg/$_pkg-$pkgver.tar.gz")
13 md5sums=('02c799cba91fdd664539ab1319df3b85')
15 build() {
16   cd "$srcdir/$_pkg-$pkgver"
18   python2 setup.py build
21 package() {
22   cd "$srcdir/$_pkg-$pkgver"
24   python2 setup.py install --root="$pkgdir"
26   # python2 fixes
27   sed -i "s/\#\!.*python/&2/" `grep -rl "\#\!.*python" "$pkgdir"`
30 # vim:set ts=2 sw=2 et: