void-packages/srcpkgs/supertux2/template

30 lines
971 B
Bash

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