1 # Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
5 pkgdesc="Basis for G19 support in Gnome15"
7 url="http://www.gnome15.org/"
9 depends=(python2 pyusb python-imaging)
10 source=(http://www.gnome15.org/downloads/Gnome15/G19/${pkgname}-${pkgver}.tar.gz)
11 md5sums=('608874d1a2884bd15769f128cd0f2b6c')
14 cd "${srcdir}/${pkgname}-${pkgver}"
17 for file in $(find . -type f -name '*' -print); do
18 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
19 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
22 python2 setup.py build
26 cd "${srcdir}/${pkgname}-${pkgver}"
28 python2 setup.py install --prefix='/usr' --root=${pkgdir}
31 # vim:set ts=2 sw=2 et: