[arch-commits] Commit in nsjail/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Wed Apr 6 18:39:28 UTC 2022


    Date: Wednesday, April 6, 2022 @ 18:39:28
  Author: archange
Revision: 1181618

upgpkg: nsjail 3.1-1

Modified:
  nsjail/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-06 18:39:01 UTC (rev 1181617)
+++ PKGBUILD	2022-04-06 18:39:28 UTC (rev 1181618)
@@ -1,8 +1,8 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org> 
 
 pkgname=nsjail
-pkgver=3.0
-pkgrel=5
+pkgver=3.1
+pkgrel=1
 pkgdesc="Light-weight process isolation tool"
 arch=(x86_64)
 url="https://nsjail.com"
@@ -9,25 +9,19 @@
 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=8e69b8efae415cde3debffbb1e379d9e7a16835a'
-        replace-YYUSE-with-attribute-unused-in-src-parser.y.patch)
-sha256sums=('cfa66d3ed136b2e221752287b95e544915e8a6760aa866f023b604d14a374919'
-            'SKIP'
-            '9773c57a2eaa3460a0656a5fdc3603d141aac34ded53e18e29a890fd5b7a71f8')
+source=(https://github.com/google/nsjail/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        git+https://github.com/google/kafel.git#commit=00532cc1ee142355c2db8a58001bcc669893cff8)
+sha256sums=('c944ce9b6dbfae7cc42b67ce720f997b3b12a2b41ba3462e133627a838f3ff3c'
+            'SKIP')
 
 prepare() {
-    # https://github.com/google/kafel/pull/28
-    patch -Np1 -d kafel <replace-YYUSE-with-attribute-unused-in-src-parser.y.patch
-    mv kafel ${pkgname}-${pkgver}
+  mv kafel ${pkgname}-${pkgver}
 }
 
 build() {
-    cd ${pkgname}-${pkgver}
-    make
+  make -C ${pkgname}-${pkgver}
 }
 
 package() {
-    cd ${pkgname}-${pkgver}
-    install -Dm755 nsjail -t "${pkgdir}"/usr/bin/ 
+  install -Dm755 ${pkgname}-${pkgver}/nsjail -t "${pkgdir}"/usr/bin/ 
 }



More information about the arch-commits mailing list