1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
6 pkgdesc="ZFO editor allows user to interact with ZFO forms"
8 url="http://labs.nic.cz/page/768/zfo-editor/"
10 depends=('python-lxml' 'pywebkitgtk')
11 makedepends=('python2-distribute')
12 source=(http://labs.nic.cz/files/labs/zfo_editor/$pkgname-$pkgver.tar.gz)
13 sha256sums=('36dda2e12f790c4a84ee81844ab226e8accbe8868ddbeabe0753112656b0a2c5')
16 cd ${srcdir}/$pkgname-$pkgver
19 for file in $(find . -name '*.py' -print); do
20 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
21 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
24 python2 setup.py install --root=${pkgdir}