choosenim: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:03 +07:00
parent 892f80c75f
commit 655a29890e

View file

@ -2,6 +2,7 @@
pkgname=choosenim
version=0.7.4
revision=3
create_wrksrc=yes
hostmakedepends="git nim openssl-devel pkg-config"
makedepends="openssl-devel zlib-devel libarchive-devel"
depends="gcc"
@ -19,7 +20,8 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_extract() {
mv ../nimarchive-0.5.4 nimarchive
mv choosenim-$version/* .
mv nimarchive-0.5.4 nimarchive
}
do_build() {