1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: Lone_Wolf <lonewolf@xs4all.nl>
5 pkgname=zeroinstall-injector
8 pkgdesc="A decentralised loosly-coupled secure installation system"
10 url="http://zero-install.sourceforge.net/"
11 license=('GPL2' 'LGPL')
12 depends=('pygtk' 'gnupg' 'hicolor-icon-theme' 'desktop-file-utils')
13 optdepends=('xdg-utils: GNOME and KDE desktop integration')
14 install="$pkgname.install"
15 source=("http://downloads.sourceforge.net/zero-install/$pkgname-$pkgver.tar.bz2")
16 md5sums=('a1e0291183520875704386ddbc22cc5d')
19 cd "$srcdir/$pkgname-$pkgver"
22 sed -i "s_man/_share/&_" setup.py
24 python2 setup.py build
28 cd "$srcdir/$pkgname-$pkgver"
30 python2 setup.py install --prefix=/usr --root="$pkgdir/"
33 sed -i "s/env python/&2/" `grep -rl "env python" "$pkgdir"`