diff --git a/srcpkgs/minetest/template b/srcpkgs/minetest/template index f49b941fd22..d1be32ecd1d 100644 --- a/srcpkgs/minetest/template +++ b/srcpkgs/minetest/template @@ -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 }