wayfire: use create_wrksrc

This commit is contained in:
Michal Vasilek 2022-10-21 01:53:21 +02:00
parent 769fdb356a
commit 2d4987a20b

View file

@ -4,6 +4,8 @@ version=0.7.3
revision=2
_utils_commit=889fdafa7b09fc6ce70313fd3f067cfc8c21a2ac
_touch_commit=8974eb0f6a65464b63dd03b842795cb441fb6403
create_wrksrc=yes
build_wrksrc="${pkgname}-${version}"
build_style=meson
configure_args="-Dprint_trace=false"
hostmakedepends="pkg-config wayland-devel"
@ -34,10 +36,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
fi
post_extract() {
rmdir subprojects/wf-utils
rmdir subprojects/wf-touch
mv ../wf-utils-${_utils_commit} subprojects/wf-utils
mv ../wf-touch-${_touch_commit} subprojects/wf-touch
rmdir ${build_wrksrc}/subprojects/wf-utils
rmdir ${build_wrksrc}/subprojects/wf-touch
mv wf-utils-${_utils_commit} ${build_wrksrc}/subprojects/wf-utils
mv wf-touch-${_touch_commit} ${build_wrksrc}/subprojects/wf-touch
}
post_install() {