1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
6 pkgdesc="GUI application allowing access to a 'Databox' - an electronic communication interface endorsed by the Czech government"
8 url="http://labs.nic.cz/page/740/dsgui/"
10 depends=('dslib' 'pygtk' 'python2-sqlalchemy' 'hicolor-icon-theme')
11 makedepends=('python2-distribute')
12 install=$pkgname.install
13 source=(http://labs.nic.cz/files/labs/datove_schranky/$pkgname-$pkgver.tar.gz)
14 sha256sums=('07929b02e162a965d6a1756066e39fc2bec8fcabb3ffb8498deef1302ab1f517')
17 cd ${srcdir}/$pkgname-$pkgver
20 for file in $(find . -name '*.py' -print); do
21 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
22 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
25 python2 setup.py install --root=${pkgdir}