summaryrefslogtreecommitdiffstats
path: root/abs/extra/bubblewrap/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-02-21 14:14:25 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-02-21 14:14:25 (GMT)
commitef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4 (patch)
treebce878d6b73fcb4275c40b8d4620fdbe025a7819 /abs/extra/bubblewrap/PKGBUILD
parent5eff1727bf01c7d21d350fb11dc71ee07943b813 (diff)
downloadlinhes_pkgbuild-ef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4.zip
linhes_pkgbuild-ef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4.tar.gz
linhes_pkgbuild-ef1ddf53debb4c64aed0fa63b4382e9ec33ef3e4.tar.bz2
bubblewrap. dep of opam
Diffstat (limited to 'abs/extra/bubblewrap/PKGBUILD')
-rw-r--r--abs/extra/bubblewrap/PKGBUILD36
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
+}