void-packages/srcpkgs/supertux2/template

24 lines
876 B
Bash

# Template file for 'supertux2'
pkgname=supertux2
version=0.6.3
revision=2
build_style=cmake
configure_args="
-DAPPDATADIR=/usr/share/supertux2
-DINSTALL_SUBDIR_BIN=bin
-DINSTALL_SUBDIR_SHARE=share/supertux2
-DWERROR=OFF"
make_cmd=make
hostmakedepends="pkg-config"
makedepends="SDL2_image-devel boost-devel glew-devel libcurl-devel
libopenal-devel libraqm-devel physfs-devel glm"
short_desc="Side-scrolling platform game, milestone 2"
maintainer="beefcurtains <beefcurtains@voidlinux.org>"
license="GPL-3.0-or-later, GPL-2.0-or-later, CC-BY-SA-3.0, CC-BY-SA-4.0, CC-BY-3.0"
homepage="https://supertux.github.io/"
distfiles="https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz"
checksum=f7940e6009c40226eb34ebab8ffb0e3a894892d891a07b35d0e5762dd41c79f6
replaces="supertux2-data>=0"
export CMAKE_GENERATOR="Unix Makefiles"