updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / zfo-editor / PKGBUILD
blob780b8f7eaf0228319e5ce3f994ec536ac34c08bb
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=zfo-editor
4 pkgver=0.3.2
5 pkgrel=1
6 pkgdesc="ZFO editor allows user to interact with ZFO forms"
7 arch=('any')
8 url="http://labs.nic.cz/page/768/zfo-editor/"
9 license=('GPL2')
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')
15 build() {
16   cd ${srcdir}/$pkgname-$pkgver
18 #Python2 fix
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
22   done
24   python2 setup.py install --root=${pkgdir}