summaryrefslogtreecommitdiff
path: root/community/alienarena
diff options
context:
space:
mode:
Diffstat (limited to 'community/alienarena')
-rw-r--r--community/alienarena/PKGBUILD37
-rw-r--r--community/alienarena/alienarena.desktop7
2 files changed, 44 insertions, 0 deletions
diff --git a/community/alienarena/PKGBUILD b/community/alienarena/PKGBUILD
new file mode 100644
index 000000000..cdf3ae8cd
--- /dev/null
+++ b/community/alienarena/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 42056 2011-03-12 16:13:26Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: yugrotavele <yugrotavele at archlinux dot us>
+# Contributor: Det <nimetonmaili at gmail a-dot com>
+# Contributor: godane <slaxemulator@gmail.com>
+# Contributor: damian01w <damian01w@gmail.com>
+
+pkgname=alienarena
+pkgver=7.51
+pkgrel=1
+_verdate=20110311
+pkgdesc="Multiplayer retro sci-fi deathmatch game"
+arch=('i686' 'x86_64')
+url='http://icculus.org/alienarena/rpa/'
+license=('GPL')
+depends=('curl' 'freetype2' 'libgl' 'libjpeg' 'libvorbis' 'libxxf86dga' 'libxxf86vm' 'mesa' 'ode' 'sdl' 'openal' 'alienarena-data')
+source=(http://icculus.org/alienarena/Files/alienarena-${pkgver/./_}-linux${_verdate}.tar.gz
+ 'alienarena.desktop')
+md5sums=('c9f1f050f52cdc45ab85487c526518d8'
+ 'f9b50e27e8615a6010b4cc91e9eb010f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ mv -f "$pkgdir/usr/bin/crx" "$pkgdir/usr/bin/$pkgname"
+ mv -f "$pkgdir/usr/bin/crx-ded" "$pkgdir/usr/bin/$pkgname-ded"
+ install -D -m644 "$srcdir/alienarena.desktop" "${pkgdir}/usr/share/applications/alienarena.desktop"
+ rm -rf "$pkgdir/usr/share/$pkgname"
+}
diff --git a/community/alienarena/alienarena.desktop b/community/alienarena/alienarena.desktop
new file mode 100644
index 000000000..d0b9834ed
--- /dev/null
+++ b/community/alienarena/alienarena.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Alien Arena
+Comment=Multiplayer retro sci-fi deathmatch
+Exec=alienarena
+Icon=/usr/share/alienarena/aa.png
+Categories=Game;ActionGame;