diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-02-21 14:14:25 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-02-21 14:14:25 (GMT) |
commit | ef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4 (patch) | |
tree | bce878d6b73fcb4275c40b8d4620fdbe025a7819 /abs | |
parent | 5eff1727bf01c7d21d350fb11dc71ee07943b813 (diff) | |
download | linhes_pkgbuild-ef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4.zip linhes_pkgbuild-ef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4.tar.gz linhes_pkgbuild-ef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4.tar.bz2 |
bubblewrap. dep of opam
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/bubblewrap/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/extra/bubblewrap/PKGBUILD b/abs/extra/bubblewrap/PKGBUILD new file mode 100644 index 0000000..5d443dd --- /dev/null +++ b/abs/extra/bubblewrap/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> + +pkgname=bubblewrap +pkgver=0.3.1 +pkgrel=1 +pkgdesc='Unprivileged sandboxing tool' +url='https://github.com/projectatomic/bubblewrap' +arch=(x86_64) +license=(GPL) +depends=(glibc libcap) +makedepends=(libxslt docbook-xsl git) +_commit=e7b517f40956a153972fd61a2c6da1140f52990b # tags/v0.3.1^0 +source=(git+$url#commit=$_commit) +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe | sed 's/^v//' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr \ + --with-priv-mode=setuid + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} |