void-packages/srcpkgs/minetest/template
2014-11-30 07:32:21 +00:00

23 lines
862 B
Text

# Template file for 'minetest'
pkgname=minetest
version=0.4.10
revision=1
build_style=cmake
configure_args="-DRUN_IN_PLACE=0 -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1
-DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2"
short_desc="An InfiniMiner/Minecraft inspired game"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.minetest.org"
update_site="https://github.com/minetest/minetest/tags"
update_pattern='archive/\K[\d.]+(?=\.tar\.gz)'
hostmakedepends="cmake pkg-config git"
makedepends="
sqlite-devel libcurl-devel lua-devel libjpeg-turbo-devel libpng-devel
LuaJIT-devel freetype-devel MesaLib-devel libopenal-devel libvorbis-devel
irrlicht-devel hicolor-icon-theme desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils"
do_fetch() {
git clone -b${version} git://github.com/minetest/minetest ${pkgname}-${version}
}