summaryrefslogtreecommitdiff
path: root/community-testing/teeworlds
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
committerroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
commit965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch)
tree910883dffa913262b28fb7a0e3bc41c3325b1dd2 /community-testing/teeworlds
parent962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff)
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'community-testing/teeworlds')
-rw-r--r--community-testing/teeworlds/PKGBUILD51
-rw-r--r--community-testing/teeworlds/teeworlds.desktop14
-rw-r--r--community-testing/teeworlds/teeworlds.pngbin0 -> 1701 bytes
3 files changed, 65 insertions, 0 deletions
diff --git a/community-testing/teeworlds/PKGBUILD b/community-testing/teeworlds/PKGBUILD
new file mode 100644
index 000000000..51ee46ff9
--- /dev/null
+++ b/community-testing/teeworlds/PKGBUILD
@@ -0,0 +1,51 @@
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Armin 'IsSuE' Praher [issue.at.gmx.dot.at]
+# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+pkgname=teeworlds
+pkgver=0.6.1
+pkgrel=3
+pkgdesc="A multiplayer 2D shooter"
+arch=('i686' 'x86_64')
+url="http://teeworlds.com"
+license=('custom')
+depends=('alsa-lib' 'glu' 'sdl' 'freetype2')
+makedepends=('python2' 'bam' 'mesa')
+replaces=('teewars')
+source=(http://www.teeworlds.com/files/${pkgname}-${pkgver}-source.tar.gz
+ teeworlds.desktop
+ teeworlds.png)
+md5sums=('00de7195ecd1f23596dc3237341af512'
+ '3944aaf7a8c19a83510b2b39c4cddf5f'
+ '44f39e398409232a0e0a431ed46d8cc8')
+
+build() {
+ # Build teeworlds
+ cd ${srcdir}/${pkgname}-*-source
+
+ # Use Python 2
+ sed -i 's/python /python2 /' bam.lua
+
+ 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-testing/teeworlds/teeworlds.desktop b/community-testing/teeworlds/teeworlds.desktop
new file mode 100644
index 000000000..ddfb8994d
--- /dev/null
+++ b/community-testing/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-testing/teeworlds/teeworlds.png b/community-testing/teeworlds/teeworlds.png
new file mode 100644
index 000000000..890baaff3
--- /dev/null
+++ b/community-testing/teeworlds/teeworlds.png
Binary files differ