minetest: use vsrcextract

Closes: #50610 [via git-merge-pr]
This commit is contained in:
Marcin Puc 2024-05-30 17:23:43 +02:00 committed by Andrew Benson
parent 4d063fea16
commit a157e3245d
1 changed files with 2 additions and 3 deletions

View File

@ -3,8 +3,6 @@ pkgname=minetest
version=5.8.0
revision=1
_irrlichtversion=1.9.0mt13
create_wrksrc=yes
build_wrksrc="${pkgname}-${version}"
build_style=cmake
configure_args="-DBUILD_SERVER=TRUE -DVERSION_EXTRA=_${revision}"
hostmakedepends="pkg-config gettext"
@ -21,7 +19,8 @@ distfiles="https://github.com/minetest/minetest/archive/${version}.tar.gz
https://github.com/minetest/irrlicht/archive/refs/tags/${_irrlichtversion}.tar.gz"
checksum="610c85a24d77acdc3043a69d777bed9e6c00169406ca09df22ad490fe0d68c0c
2fde8e27144988210b9c0ff1e202905834d9d25aaa63ce452763fd7171096adc"
skip_extraction="${_irrlichtversion}.tar.gz"
post_extract() {
mv irrlicht-${_irrlichtversion} "${build_wrksrc}/lib/irrlichtmt"
vsrcextract -C lib/irrlichtmt ${_irrlichtversion}.tar.gz
}