Date: Wednesday, October 23, 2019 @ 18:32:18 Author: jelle Revision: 518758
db-move: moved nsjail from [community-staging] to [community-testing] (x86_64) Added: nsjail/repos/community-testing-x86_64/ nsjail/repos/community-testing-x86_64/PKGBUILD (from rev 518757, nsjail/repos/community-staging-x86_64/PKGBUILD) Deleted: nsjail/repos/community-staging-x86_64/ ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: nsjail/repos/community-testing-x86_64/PKGBUILD (from rev 518757, nsjail/repos/community-staging-x86_64/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-10-23 18:32:18 UTC (rev 518758) @@ -0,0 +1,29 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +pkgname=nsjail +pkgver=2.9 +pkgrel=3 +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} +} + +build() { + cd ${pkgname}-${pkgver} + make +} + +package() { + cd ${pkgname}-${pkgver} + install -Dm755 nsjail -t "${pkgdir}"/usr/bin/ +}