[arch-commits] Commit in nsjail/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sat May 23 22:12:10 UTC 2020


    Date: Saturday, May 23, 2020 @ 22:12:09
  Author: arojas
Revision: 632673

archrelease: copy trunk to community-staging-x86_64

Added:
  nsjail/repos/community-staging-x86_64/
  nsjail/repos/community-staging-x86_64/PKGBUILD
    (from rev 632672, nsjail/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: nsjail/repos/community-staging-x86_64/PKGBUILD (from rev 632672, nsjail/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-23 22:12:09 UTC (rev 632673)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org> 
+
+pkgname=nsjail
+pkgver=2.9
+pkgrel=5
+pkgdesc="Light-weight process isolation tool"
+arch=(x86_64)
+url="https://nsjail.com"
+license=(Apache)
+depends=(protobuf libnl)
+makedepends=(git)
+source=("https://github.com/google/nsjail/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        'git+https://github.com/google/kafel.git#commit=722b93a630e53ca472a4c69f61cb3dfc44ea5041')
+sha256sums=('f8578a48330d3d089c9234a2b562be08043f8fe77453c322724acdf403d0afc3'
+            'SKIP')
+
+prepare() {
+    mv kafel ${pkgname}-${pkgver}
+    sed -e 's|-Werror||' -i $pkgname-$pkgver/Makefile
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    install -Dm755 nsjail -t "${pkgdir}"/usr/bin/ 
+}



More information about the arch-commits mailing list