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
|
pkgname=nsjail
|
||||||
version=3.0
|
version=3.0
|
||||||
revision=9
|
revision=9
|
||||||
|
create_wrksrc=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="bison flex pkg-config protobuf which"
|
hostmakedepends="bison flex pkg-config protobuf which"
|
||||||
makedepends="libnl3-devel protobuf-devel"
|
makedepends="libnl3-devel protobuf-devel"
|
||||||
|
@ -21,8 +22,9 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
mv nsjail-$version/* .
|
||||||
rmdir kafel
|
rmdir kafel
|
||||||
mv ../kafel-* kafel
|
mv kafel-* kafel
|
||||||
}
|
}
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue