void-packages/srcpkgs/minetest/template

29 lines
753 B
Text
Raw Normal View History

2013-06-18 08:41:55 +00:00
# Template file for 'minetest'
pkgname=minetest
version=0.4.7
revision=1
build_style=cmake
configure_args="-DRUN_IN_PLACE=0 -DLUAJIT=1 -DENABLE_FREETYPE=1"
short_desc="An InfiniMiner/Minecraft inspired game"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.minetest.org"
nofetch=yes
noextract=yes
hostmakedepends="cmake pkg-config"
makedepends="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"
do_fetch() {
git clone -b${version} git://github.com/minetest/minetest ${pkgname}-${version}
}
minetest_package() {
depends="hicolor-icon-theme desktop-file-utils"
pkg_install() {
vmove all
}
}