nsjail: use create_wrksrc
This commit is contained in:
parent
3582411211
commit
9ef48c251c
1 changed files with 3 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue