From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/teeworlds/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++ community/teeworlds/teeworlds.desktop | 14 ++++++++++ community/teeworlds/teeworlds.png | Bin 0 -> 1701 bytes 3 files changed, 62 insertions(+) create mode 100644 community/teeworlds/PKGBUILD create mode 100644 community/teeworlds/teeworlds.desktop create mode 100644 community/teeworlds/teeworlds.png (limited to 'community/teeworlds') diff --git a/community/teeworlds/PKGBUILD b/community/teeworlds/PKGBUILD new file mode 100644 index 000000000..508577be5 --- /dev/null +++ b/community/teeworlds/PKGBUILD @@ -0,0 +1,48 @@ +# Contributor: Allan McRae +# Contributor: Armin 'IsSuE' Praher [issue.at.gmx.dot.at] +# Contributor: [vEX] +# Contributor: Daniel J Griffiths +# Maintainer: Sven-Hendrik Haase + +pkgname=teeworlds +pkgver=0.6.2 +pkgrel=1 +pkgdesc="A multiplayer 2D shooter" +arch=('i686' 'x86_64') +url="https://www.teeworlds.com" +license=('custom') +depends=('alsa-lib' 'glu' 'sdl' 'freetype2') +makedepends=('python' 'bam' 'mesa') +replaces=('teewars') +source=(https://www.teeworlds.com/files/${pkgname}-${pkgver}-source.tar.gz + teeworlds.desktop + teeworlds.png) +md5sums=('649f6c05a7b117096b238c07062edc39' + '3944aaf7a8c19a83510b2b39c4cddf5f' + '44f39e398409232a0e0a431ed46d8cc8') + +build() { + # Build teeworlds + cd ${srcdir}/${pkgname}-*-source + + bam server_release client_release +} + +package() { + cd ${srcdir}/${pkgname}-*-source + + # Install data files + mkdir -p ${pkgdir}/usr/share/${pkgname}/data + cp -r data/* ${pkgdir}/usr/share/${pkgname}/data + + install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + install -Dm755 ${pkgname}_srv ${pkgdir}/usr/bin/${pkgname}_srv + + install -Dm644 ${srcdir}/${pkgname}.desktop \ + ${pkgdir}/usr/share/applications/${pkgname}.desktop + install -Dm644 ${srcdir}/${pkgname}.png \ + ${pkgdir}/usr/share/pixmaps/${pkgname}.png + + install -Dm644 license.txt \ + ${pkgdir}/usr/share/licenses/${pkgname}/license.txt +} diff --git a/community/teeworlds/teeworlds.desktop b/community/teeworlds/teeworlds.desktop new file mode 100644 index 000000000..ddfb8994d --- /dev/null +++ b/community/teeworlds/teeworlds.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Icon=teeworlds +Exec=teeworlds +Terminal=false +StartupNotify=false + +Name=TeeWorlds +GenericName=Arcade Game +Comment=is a multiplayer 2D FPS shooter +Comment[pl_PL]=wieloosobowa strzelanka FTP w 2D + +Categories=Game;ArcadeGame; diff --git a/community/teeworlds/teeworlds.png b/community/teeworlds/teeworlds.png new file mode 100644 index 000000000..890baaff3 Binary files /dev/null and b/community/teeworlds/teeworlds.png differ -- cgit v1.2.3-54-g00ecf