27 lines
720 B
Bash
27 lines
720 B
Bash
# 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"
|
|
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
|
|
}
|