# Contributor: Anton Bazhenov # Contributor: Lone_Wolf # Contributor: SpepS pkgname=zeroinstall-injector pkgver=0.50 pkgrel=1 pkgdesc="A decentralised loosly-coupled secure installation system" arch=('any') url="http://zero-install.sourceforge.net/" license=('GPL2' 'LGPL') depends=('pygtk' 'gnupg' 'hicolor-icon-theme') optdepends=('xdg-utils: GNOME and KDE desktop integration') install="$pkgname.install" source=("http://downloads.sourceforge.net/zero-install/$pkgname-$pkgver.tar.bz2") md5sums=('e223721df5775f83375b711cf9be4a80') build() { cd "$srcdir"/$pkgname-$pkgver # Python2 fixes export PYTHON="python2" sed -i "s_env python_&2_" `grep -rlE "env python" .` # Man dir fix sed -i "s_man/_share/&_" setup.py python2 setup.py install --prefix=/usr --root="$pkgdir/" }