summaryrefslogtreecommitdiff
path: root/pcr/zeroinstall-injector/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 22:52:18 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 22:52:18 +0200
commit00b217be93876e0d14b42cdd2e957ff9c4d252af (patch)
treeba7d3fde1a5088566b87945ce2eee9ebf967e4b8 /pcr/zeroinstall-injector/PKGBUILD
parent1b9c8954e492b233f0127f40d7f8b33ed78697a4 (diff)
downloadabslibre-00b217be93876e0d14b42cdd2e957ff9c4d252af.tar.gz
abslibre-00b217be93876e0d14b42cdd2e957ff9c4d252af.tar.bz2
abslibre-00b217be93876e0d14b42cdd2e957ff9c4d252af.zip
clasp
Diffstat (limited to 'pcr/zeroinstall-injector/PKGBUILD')
-rw-r--r--pcr/zeroinstall-injector/PKGBUILD45
1 files changed, 21 insertions, 24 deletions
diff --git a/pcr/zeroinstall-injector/PKGBUILD b/pcr/zeroinstall-injector/PKGBUILD
index 6be6bc71e..74d9d127d 100644
--- a/pcr/zeroinstall-injector/PKGBUILD
+++ b/pcr/zeroinstall-injector/PKGBUILD
@@ -1,36 +1,33 @@
-# Contributor (Arch): SpepS <dreamspepser at yahoo dot it>
-# Contributor (Arch): Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor (Arch): Lone_Wolf <lonewolf@xs4all.nl>
-# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io>
+# Contributor (Arch) : Ben Darwin <bcdarwin at gmail>
+# Contributor (Arch) : speps <speps at aur dot archlinux dot org>
+# Contributor (Arch) : Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor (Arch) : Lone_Wolf <lonewolf@xs4all.nl>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=zeroinstall-injector
-pkgver=1.8
+_pkgname=0install
+pkgver=2.6.1
pkgrel=1
-pkgdesc="A decentralised loosly-coupled secure installation system"
-arch=('any')
-url="http://zero-install.sourceforge.net/"
+pkgdesc="A decentralised loosely-coupled secure installation system"
+arch=('i686' 'x86_64')
+url="http://0install.net"
license=('GPL2' 'LGPL')
-depends=('pygtk' 'dbus-python' 'gnupg' 'hicolor-icon-theme' 'desktop-file-utils')
-optdepends=('xdg-utils: desktop integration'
+depends=('ocaml-curl' 'ocaml-extlib' 'ocaml-lwt'
+ 'ocaml-ounit' 'ocaml-xmlm' 'ocaml-yojson')
+optdepends=('ocaml-lablgtk: provides GUI features'
+ 'ocaml-obus: for DBUS, packagekit, and NetworkManager integration'
+ 'xdg-utils: desktop integration'
'packagekit: packagekit integration')
install="$pkgname.install"
-source=("http://downloads.sourceforge.net/zero-install/$pkgname-$pkgver.tar.bz2")
-md5sums=('00b3e8b3cbfbe8ed55f81842a4d2c386')
+source=("http://downloads.sourceforge.net/zero-install/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.bz2"
+ "http://downloads.sourceforge.net/zero-install/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.bz2.sig")
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # man path fix
- sed -i "s|man/|share/&|" setup.py
-
- python2 setup.py build
+ cd $_pkgname-$pkgver
+ make || return 1
}
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"`
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install_system
}
-md5sums=('00b3e8b3cbfbe8ed55f81842a4d2c386')