void-packages/srcpkgs/supertux2/template

30 lines
971 B
Bash

# Template file for 'supertux2'
pkgname=supertux2
version=0.6.0
revision=2
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"
depends="supertux2-data"
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=c4c3e5fa6f90e87b8c5ad6b22a179e9a9839bf997e7f219e22bbcd1c97223ac0
supertux2-data_package() {
short_desc+=" - data files"
archs=noarch
pkg_install() {
vmove usr/share/supertux2
}
}