updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / zeroinstall-injector / PKGBUILD
blob6ea93a9df8de000154d729d9a99d11b984f993b1
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
6 pkgver=1.5
7 pkgrel=1
8 pkgdesc="A decentralised loosly-coupled secure installation system"
9 arch=('any')
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')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
21   # man path fix
22   sed -i "s_man/_share/&_" setup.py
24   python2 setup.py build
27 package() {
28   cd "$srcdir/$pkgname-$pkgver"
30   python2 setup.py install --prefix=/usr --root="$pkgdir/"
32   # python2 fix
33   sed -i "s/env python/&2/" `grep -rl "env python" "$pkgdir"`