nsjail: use create_wrksrc
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user