summaryrefslogtreecommitdiff
path: root/pcr/zeroinstall-injector/PKGBUILD1
blob: 564c9219f8237545b7dbbe0bce99aca09992af08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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
_pkgname=0install
pkgver=2.7
pkgrel=0
pkgdesc="A decentralised loosely-coupled secure installation system"
arch=('i686' 'x86_64')
url="http://0install.net"
license=('GPL2' 'LGPL')
depends=('gringo' 'clasp' 'opam' 'aspcud' 'ocaml' 'ocaml-curl' 'ocaml-extlib' 'ocaml-lwt' 'ocaml-biniou'
         'ocaml-ounit' 'ocaml-xmlm' 'ocaml-yojson' 'ocaml-findlib')
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://kent.dl.sourceforge.net/project/zero-install/$_pkgname/2.7/$_pkgname-2.7.tar.bz2"
        "http://kent.dl.sourceforge.net/project/zero-install/$_pkgname/2.7/$_pkgname-2.7.tar.bz2.sig")

build() {
  cd $_pkgname-$pkgver
  make || return 1
}

package() {
  cd $_pkgname-$pkgver
  make DESTDIR="$pkgdir/" install_home
}