nsjail: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:00 +07:00
parent 3582411211
commit 9ef48c251c

View file

@ -2,6 +2,7 @@
pkgname=nsjail
version=3.0
revision=9
create_wrksrc=yes
build_style=gnu-makefile
hostmakedepends="bison flex pkg-config protobuf which"
makedepends="libnl3-devel protobuf-devel"
@ -21,8 +22,9 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
fi
post_extract() {
mv nsjail-$version/* .
rmdir kafel
mv ../kafel-* kafel
mv kafel-* kafel
}
post_patch() {