void-packages/srcpkgs/teeworlds/template

26 lines
726 B
Text

# Template file for 'teeworlds'
pkgname=teeworlds
version=0.6.2
revision=1
nocross=yes
wrksrc="${pkgname}-${version}-source"
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"
distfiles="https://www.teeworlds.com/files/${pkgname}-${version}-source.tar.gz"
checksum=00061b30377597a61810eda3dc5de0caad439ca851cb8eebbe4152e4f861e2af
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
}