# Template file for 'minetest'
pkgname=minetest
version=5.9.0
revision=1
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"
checksum=070bc292a0b7fc60d7ff0a14b364c8229c5cbe38296a80f948ea2c2591545a5c
