void-packages/srcpkgs/supertux2/template
Érico Rolim cbacb5711c supertux2: fix locale on musl, remove -data subpackage.
Unless LANG was 'C', supertux2 would immediately abort when launched.

The data subpackage is no longer necessary.
2020-12-10 22:54:21 -03:00

21 lines
854 B
Bash

# Template file for 'supertux2'
pkgname=supertux2
version=0.6.2
revision=3
wrksrc="SuperTux-v${version}-Source"
build_style=cmake
configure_args="
-DAPPDATADIR=/usr/share/supertux2
-DINSTALL_SUBDIR_BIN=bin
-DINSTALL_SUBDIR_SHARE=share/supertux2
-DWERROR=OFF"
hostmakedepends="pkg-config"
makedepends="SDL2_image-devel boost-devel glew-devel libcurl-devel
libopenal-devel libraqm-devel physfs-devel"
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=26a9e56ea2d284148849f3239177d777dda5b675a10ab2d76ee65854c91ff598
replaces="supertux2-data>=0"