volk: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:18 +07:00
parent 874e8104e9
commit 9749029f12

View file

@ -3,6 +3,7 @@ pkgname=volk
version=2.5.2
revision=1
_cpu_features_gitrev="188d0d3c383689cdb6bb70dc6da2469faec84f61"
create_wrksrc=yes
build_style=cmake
hostmakedepends="pkg-config python3-cheetah3 git python3-Mako python3-six"
makedepends="python3-cheetah3 python3-devel python3-Mako python3-six"
@ -21,8 +22,9 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_extract() {
mv volk-$version/* .
rm -rf cpu_features
mv ../cpu_features-${_cpu_features_gitrev} cpu_features
mv cpu_features-${_cpu_features_gitrev} cpu_features
}
volk-devel_package() {