void-packages/srcpkgs/teeworlds/template
2014-11-22 15:49:57 +01:00

27 lines
776 B
Text

# Template file for 'teeworlds'
pkgname=teeworlds
version=0.6.3
revision=1
nocross=yes
wrksrc="${pkgname}-${version}-src"
hostmakedepends="bam"
makedepends="zlib-devel SDL-devel glu-devel freetype-devel"
short_desc="A retro multiplayer shooter"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="https://www.teeworlds.com"
update_site="https://www.teeworlds.com/?page=downloads"
distfiles="https://downloads.teeworlds.com/${pkgname}-${version}-src.tar.gz"
checksum=490ee7c372898761c609af8d7b0c6bd55942c6c6fcd7f361eefa00abfc70077b
do_build() {
bam server_release client_release
}
do_install() {
vbin teeworlds
vbin teeworlds_srv
vmkdir usr/share/teeworlds
cp -r data ${DESTDIR}/usr/share/teeworlds/data
vlicense license.txt LICENSE
}