void-packages/srcpkgs/supertux2/template
2016-10-07 18:27:52 +02:00

32 lines
918 B
Bash

# Template file for 'supertux2'
pkgname=supertux2
version=0.5.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="cmake pkg-config"
makedepends="
SDL2_image-devel boost-devel glew-devel libcurl-devel
libvorbis-devel libopenal-devel physfs-devel"
depends="${pkgname}-data"
short_desc="Side-scrolling platform game, milestone 2"
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
license="GPL-3"
homepage="https://supertux.github.io/"
distfiles="https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz"
checksum=cfae0da40c41532fb414c3b17891c98396b59471fe583a8fc756b96aea61a73b
nopie=yes
supertux2-data_package() {
short_desc+=" - data files"
noarch=yes
pkg_install() {
vmove usr/share/supertux2
}
}