From af3916a8273c4b0c4375972fe26205b007efa497 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 21 Aug 2014 23:41:53 +0200 Subject: [PATCH] New package: teeworlds-0.6.2 --- srcpkgs/teeworlds/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/teeworlds/template diff --git a/srcpkgs/teeworlds/template b/srcpkgs/teeworlds/template new file mode 100644 index 00000000000..c0a3e2cab9a --- /dev/null +++ b/srcpkgs/teeworlds/template @@ -0,0 +1,26 @@ +# 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 freetype-devel" +short_desc="A retro multiplayer shooter" +maintainer="Christian Neukirchen " +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 +}