diff options
author | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
commit | 5ae2d0f4bb7b2d29aca46139292207252616ac1f (patch) | |
tree | 5ddf00b36f0c80c65769409af8be6bffe7643206 /pcr/zeroinstall-injector/PKGBUILD | |
parent | 0019e0942eb838ccf7fa72962e0f0d9f49cd1cf4 (diff) |
humm be
Diffstat (limited to 'pcr/zeroinstall-injector/PKGBUILD')
-rw-r--r-- | pcr/zeroinstall-injector/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/zeroinstall-injector/PKGBUILD b/pcr/zeroinstall-injector/PKGBUILD new file mode 100644 index 000000000..120355775 --- /dev/null +++ b/pcr/zeroinstall-injector/PKGBUILD @@ -0,0 +1,36 @@ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Lone_Wolf <lonewolf@xs4all.nl> +# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io> + +pkgname=zeroinstall-injector +pkgver=1.8 +pkgrel=1 +pkgdesc="A decentralised loosly-coupled secure installation system" +arch=('any') +url="http://zero-install.sourceforge.net/" +license=('GPL2' 'LGPL') +depends=('pygtk' 'dbus-python' 'gnupg' 'hicolor-icon-theme' 'desktop-file-utils') +optdepends=('xdg-utils: desktop integration' + 'packagekit: packagekit integration') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/zero-install/$pkgname-$pkgver.tar.bz2") +md5sums=('00b3e8b3cbfbe8ed55f81842a4d2c386') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # man path fix + sed -i "s|man/|share/&|" setup.py + + python2 setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --prefix=/usr --root="$pkgdir/" + + # python2 fix + sed -i "s/env python/&2/" `grep -rl "env python" "$pkgdir"` +} +md5sums=('00b3e8b3cbfbe8ed55f81842a4d2c386') |