deadbeef: use create_wrksrc

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

View file

@ -2,6 +2,7 @@
pkgname=deadbeef
version=1.8.8
revision=1
create_wrksrc=yes
build_style=gnu-configure
configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
@ -38,10 +39,11 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
fi
post_extract() {
mv deadbeef-${version}/* .
rm -rf external/apbuild
rm -rf external/mp4p
mv -v ../apbuild-${_apbuild_commit} external/apbuild
mv -v ../mp4p-${_mp4p_commit} external/mp4p
mv -v apbuild-${_apbuild_commit} external/apbuild
mv -v mp4p-${_mp4p_commit} external/mp4p
}
pre_configure() {