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

Jan Steffens heftig at archlinux.org
Mon Mar 4 22:17:42 UTC 2019


    Date: Monday, March 4, 2019 @ 22:17:42
  Author: heftig
Revision: 437661

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: nsjail/repos/community-staging-x86_64/PKGBUILD (from rev 437660, nsjail/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-03-04 22:17:42 UTC (rev 437661)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org> 
+
+pkgname=nsjail
+pkgver=2.8
+pkgrel=2
+pkgdesc="A light-weight process isolation tool"
+arch=('x86_64')
+url="http://nsjail.com"
+license=('Apache')
+depends=('protobuf' 'libnl')
+makedepends=('git')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/google/nsjail/archive/${pkgver}.tar.gz"
+        'git+https://github.com/google/kafel.git#commit=722b93a630e53ca472a4c69f61cb3dfc44ea5041')
+sha256sums=('1eb5cad7e698d467a0224614aaca04e169bde6c2cf57f2e6a01a8ad5f787bb56'
+            'SKIP')
+
+prepare() {
+    mv kafel ${pkgname}-${pkgver}
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    install -Dm755 nsjail -t "${pkgdir}"/usr/bin/ 
+}


More information about the arch-commits mailing list