juCi++: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:07 +07:00
parent f25b90ae6c
commit 0374a23013

View file

@ -4,7 +4,7 @@ version=1.6.2
revision=4
_libclangmm_commit="b342f4dd6de4fe509a692a4b4fcfc7e24aae9590"
_tiny_commit="c9c8bf810ddad8cd17882b9a9ee628a690e779f5"
wrksrc="jucipp-v${version}"
create_wrksrc=yes
build_style=cmake
hostmakedepends="pkg-config"
makedepends="aspell-devel clang boost-devel gtksourceviewmm-devel libgit2-devel"
@ -26,10 +26,10 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_extract() {
mv ${wrksrc}/../libclangmm-${_libclangmm_commit}/* ${wrksrc}/lib/libclangmm/
rm -rf ${wrksrc}/../libclangmm-${_libclangmm_commit}
mv ${wrksrc}/../tiny-process-library-${_tiny_commit}/* ${wrksrc}/lib/tiny-process-library
rm -rf ${wrksrc}/../tiny-process-library-${_tiny_commit}/*
mv jucipp-v$version/* .
rmdir lib/libclangmm lib/tiny-process-library
mv libclangmm-${_libclangmm_commit} ${wrksrc}/lib/libclangmm
mv tiny-process-library-${_tiny_commit} lib/tiny-process-library
}
post_install() {