mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
lc0: use create_wrksrc
This commit is contained in:
parent
71ffb26031
commit
b1ac2bc474
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@ pkgname=lc0
|
||||||
version=0.28.2
|
version=0.28.2
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64* i686* aarch64* armv[67]l* ppc64le*"
|
archs="x86_64* i686* aarch64* armv[67]l* ppc64le*"
|
||||||
|
create_wrksrc=yes
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dgtest=false"
|
configure_args="-Dgtest=false"
|
||||||
_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
|
_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
|
||||||
|
@ -35,6 +36,7 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
mv lc0-$version/* .
|
||||||
rmdir libs/lczero-common
|
rmdir libs/lczero-common
|
||||||
mv ../lczero-common-${_lczero_commit} libs/lczero-common
|
mv lczero-common-${_lczero_commit} libs/lczero-common
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue