community/nsjail to 2.9-4

This commit is contained in:
Kevin Mihelich 2019-12-15 19:21:11 +00:00
parent fccb68e7a9
commit 00e6a0d539

View file

@ -5,7 +5,7 @@
pkgname=nsjail pkgname=nsjail
pkgver=2.9 pkgver=2.9
pkgrel=3 pkgrel=4
pkgdesc="Light-weight process isolation tool" pkgdesc="Light-weight process isolation tool"
arch=(x86_64) arch=(x86_64)
url="https://nsjail.com" url="https://nsjail.com"
@ -21,6 +21,7 @@ sha256sums=('f8578a48330d3d089c9234a2b562be08043f8fe77453c322724acdf403d0afc3'
prepare() { prepare() {
mv kafel ${pkgname}-${pkgver} mv kafel ${pkgname}-${pkgver}
sed -e 's|-Werror||' -i $pkgname-$pkgver/Makefile
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
patch -p1 -i ../0001-32-bit-fix.patch patch -p1 -i ../0001-32-bit-fix.patch
} }