choosenim: use create_wrksrc
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user