28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
# Template file for 'minetest'
|
|
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"
|
|
makedepends="MesaLib-devel freetype-devel gmp-devel libcurl-devel
|
|
libjpeg-turbo-devel libopenal-devel libvorbis-devel lua52-devel
|
|
sqlite-devel libXi-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="InfiniMiner/Minecraft inspired game"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://www.minetest.net"
|
|
changelog="https://dev.minetest.net/Changelog"
|
|
distfiles="https://github.com/minetest/minetest/archive/${version}.tar.gz
|
|
https://github.com/minetest/irrlicht/archive/refs/tags/${_irrlichtversion}.tar.gz"
|
|
checksum="610c85a24d77acdc3043a69d777bed9e6c00169406ca09df22ad490fe0d68c0c
|
|
2fde8e27144988210b9c0ff1e202905834d9d25aaa63ce452763fd7171096adc"
|
|
|
|
post_extract() {
|
|
mv irrlicht-${_irrlichtversion} "${build_wrksrc}/lib/irrlichtmt"
|
|
}
|