30 lines
971 B
Bash
30 lines
971 B
Bash
# Template file for 'supertux2'
|
|
pkgname=supertux2
|
|
version=0.6.2
|
|
revision=1
|
|
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=26a9e56ea2d284148849f3239177d777dda5b675a10ab2d76ee65854c91ff598
|
|
|
|
supertux2-data_package() {
|
|
short_desc+=" - data files"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmove usr/share/supertux2
|
|
}
|
|
}
|