lc0: use create_wrksrc
This commit is contained in:
@@ -3,6 +3,7 @@ pkgname=lc0
|
||||
version=0.28.2
|
||||
revision=1
|
||||
archs="x86_64* i686* aarch64* armv[67]l* ppc64le*"
|
||||
create_wrksrc=yes
|
||||
build_style=meson
|
||||
configure_args="-Dgtest=false"
|
||||
_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
|
||||
@@ -35,6 +36,7 @@ case "$XBPS_TARGET_MACHINE" in
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
mv lc0-$version/* .
|
||||
rmdir libs/lczero-common
|
||||
mv ../lczero-common-${_lczero_commit} libs/lczero-common
|
||||
mv lczero-common-${_lczero_commit} libs/lczero-common
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user