1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: Israel Herraiz <isra@herraiz.org>
6 pkgdesc="Control your dekstop using a Wiimote"
7 url="http://code.google.com/p/wiimote-pointer/"
10 depends=('python2' 'python2-matplotlib' 'python-xlib' 'python-pybluez' 'pygtk' 'xautomation')
17 source=(http://wiimote-pointer.googlecode.com/files/Wiinux-${pkgver}.tar.gz)
18 md5sums=('0672bd2b1f2c061528d638e2bec0882e')
21 cd $srcdir/Wiinux-$pkgver
22 sed -i 's|/usr/bin/env python|/usr/bin/env python2|' $pkgname
23 python2 setup.py install --root=$pkgdir/ --optimize=1