diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/tremulous |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/tremulous')
-rw-r--r-- | community/tremulous/PKGBUILD | 69 | ||||
-rw-r--r-- | community/tremulous/tremded.launcher | 10 | ||||
-rw-r--r-- | community/tremulous/tremulous.desktop | 11 | ||||
-rw-r--r-- | community/tremulous/tremulous.launcher | 10 | ||||
-rw-r--r-- | community/tremulous/tremulous.xpm | 90 |
5 files changed, 190 insertions, 0 deletions
diff --git a/community/tremulous/PKGBUILD b/community/tremulous/PKGBUILD new file mode 100644 index 000000000..b26368a8b --- /dev/null +++ b/community/tremulous/PKGBUILD @@ -0,0 +1,69 @@ +# $Id: PKGBUILD 6443 2009-12-10 14:33:11Z daenyth $ +# Contributor: Slash <demodevil5[at]yahoo[dot]com> +# Contributor: Vesa Kaihlavirta <vegai@iki.fi> +# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com> + +pkgname=tremulous +pkgver=1.1.0 +pkgrel=7 +pkgdesc="A completely free online team based FPS/RTS hybrid game based on the ioquake3 engine." +url="http://tremulous.net/" +license=("GPL") +arch=('i686' 'x86_64') +depends=("sdl" "openal>=1.7.411" "tremulous-data=$pkgver") +makedepends=(subversion mesa) +source=('tremulous.launcher' 'tremded.launcher' 'tremulous.desktop' 'tremulous.xpm' + "backport.patch::http://source.mercenariesguild.net/client/trunk/patches/backport-client-r1112.patch?revision=2" + "fixfavorites.patch::http://source.mercenariesguild.net/client/trunk/patches/slacker-fixfavorites.patch?revision=15" + "resolution.patch::http://source.mercenariesguild.net/client/trunk/patches/Lakitu7-backport_resolution_cvars.patch?revision=71" + "sortping.patch::http://source.mercenariesguild.net/client/trunk/patches/Amanieu_sortping_fix_client.patch?revision=3") +md5sums=('5d2a7f0459affe970fe2b33b7ef18780' + '8775c2d5b9ec6ce9b9d85ab79ec9879d' + '9974bde01b95b6d967beb76c31c0e742' + '7e3a881608f1c7c0ccece1e07fcf92d8' + '7b3bf98d1ae3ea89da58e3c7775bf452' + '510384ba8699aceac13aaa15d722ced7' + '4d39ef28a0924bdc33234a01fb54f846' + '85315bd6d35519bd231e9771552a8e49') + +build() { + cd $srcdir + + # Check out the revision recommended by the developers + svn co svn://svn.icculus.org/tremulous/trunk/ --config-dir ./ -r 1114 tremulous-src || return 1 + + # Compile Source + cd tremulous-src + + # Add patches recommended by the developers + patch -Np0 -i $srcdir/backport.patch || return 1 + patch -Np0 -i $srcdir/fixfavorites.patch || return 1 + patch -Np0 -i $srcdir/resolution.patch || return 1 + patch -Np0 -i $srcdir/sortping.patch || return 1 + + make || return 1 +} + +package() { + cd $srcdir/tremulous-src + + install -dm755 $pkgdir/opt/tremulous/ + + # Install Binaries + local _arch=${CARCH/i686/x86} + install -m755 build/release-linux-$_arch/*.$_arch $pkgdir/opt/tremulous + + cd $srcdir + + # Install Client Launcher + install -D -m755 tremulous.launcher $pkgdir/usr/bin/tremulous + + # Install Server Launcher + install -D -m755 tremded.launcher $pkgdir/usr/bin/tremded + + # Install Desktop Icons + install -D -m644 tremulous.desktop $pkgdir/usr/share/applications/tremulous.desktop + install -D -m644 tremulous.xpm $pkgdir/usr/share/pixmaps/tremulous.xpm +} + +# vim:set ts=2 sw=2 et: diff --git a/community/tremulous/tremded.launcher b/community/tremulous/tremded.launcher new file mode 100644 index 000000000..630fb5886 --- /dev/null +++ b/community/tremulous/tremded.launcher @@ -0,0 +1,10 @@ +#!/bin/sh +case `uname -m` in + i686) arch=x86 ;; + x86_64) arch=x86_64 ;; + *) exit 1 ;; +esac + +cd "/opt/tremulous" +./tremded.$arch "$@" +exit $? diff --git a/community/tremulous/tremulous.desktop b/community/tremulous/tremulous.desktop new file mode 100644 index 000000000..1d53f3aff --- /dev/null +++ b/community/tremulous/tremulous.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Tremulous +GenericName=Tremulous +Comment=Online Team-Based RTS/FPS Hybrid +Exec=/usr/bin/tremulous +Icon=tremulous.xpm +StartupNotify=true +Terminal=false +Type=Application +Categories=Application;Game diff --git a/community/tremulous/tremulous.launcher b/community/tremulous/tremulous.launcher new file mode 100644 index 000000000..1bba6f848 --- /dev/null +++ b/community/tremulous/tremulous.launcher @@ -0,0 +1,10 @@ +#!/bin/sh +case `uname -m` in + i686) arch=x86 ;; + x86_64) arch=x86_64 ;; + *) exit 1 ;; +esac + +cd "/opt/tremulous" +./tremulous.$arch "$@" +exit $? diff --git a/community/tremulous/tremulous.xpm b/community/tremulous/tremulous.xpm new file mode 100644 index 000000000..5e070c862 --- /dev/null +++ b/community/tremulous/tremulous.xpm @@ -0,0 +1,90 @@ +/* XPM */ +static char * tremulous_xpm[] = { +"48 48 39 1", +" c None", +". c #0F0F0F", +"+ c #181818", +"@ c #000000", +"# c #282828", +"$ c #212121", +"% c #060606", +"& c #1D1D1D", +"* c #252525", +"= c #080808", +"- c #0E0E0E", +"; c #050505", +"> c #0B0B0B", +", c #0C0C0C", +"' c #232323", +") c #1F1F1F", +"! c #030303", +"~ c #0D0D0D", +"{ c #040404", +"] c #020202", +"^ c #141414", +"/ c #1E1E1E", +"( c #131313", +"_ c #111111", +": c #010101", +"< c #191919", +"[ c #090909", +"} c #292929", +"| c #070707", +"1 c #121212", +"2 c #1B1B1B", +"3 c #161616", +"4 c #0A0A0A", +"5 c #222222", +"6 c #242424", +"7 c #1A1A1A", +"8 c #151515", +"9 c #101010", +"0 c #171717", +" ", +" ... ", +" +@@@@@# ", +" $@@@@@@% ", +" &@@@@@@@@ * ", +" =- ;@@@@@@@@> ,@- ", +" @@' ;@@@@@@@@@ ,@@ ", +" )@! ;@@@@@@@@@ ~@@; ", +" ;@{ ]@@@@@@@@@~ ,@@; ", +" ^@@] /@@@@@@@@@@@( -@@; ", +" .@@; /@@@@@@@@@@@ -@@@/ ", +" _@@] /@@@@@@@@@@@ #:@@@_ ", +" @@@; /@@@@@@@@@@< :@@@- ", +" :@@! ]@@@@@@@@@ @@@@- ", +" $@@@; ;@@@@@@@@[ ~]@@@- ", +" %@@@; }!@@@@@@@@- }|@@@@, ", +" !@@@; 1@@@@@@@@@@ 2@@@@@~ ", +" ;@@@% [@@@@@@@@@@@@@@@@, ", +" @@@@{|||:@@@@@@@@@@@@@@!- ", +" -@@@@@@@@@@@@@@@@@@@@@] ", +" .@@@@@@@@@@@@@@@@@@@{ ", +" ]@@@@@@@@@@@@@@@@@ ", +" .@@@@@@@@@@@@@@@@ ", +" +@@@@@@@@@@@@@@@@@@@@@@@@@@/ ", +" =@@@@@@@@@@@@@@@@@@@@@@@@@/ ", +" .=@@@@@@@@@@@@@@@@@@% ", +" ,@@@@@@@@@@@@@@@@@@@@@ ", +" 2>]@@@@@@@@@@@@@@@@@@@@@@@3 ", +" *:@@@@@@@@@@@@@@@@@@@@@@@@@^ ", +" @@@||| 4]@@@@@@@@@@@@@@@@@ ", +" 556 _@@@@@@@@@@@@@@@@3 ", +" >@@@@@@@@@@@@@@@@+ ", +" ;@@@@@@@@@@@@@@@@@7 ", +" &@@@@@@@@@@@@@@@@@@@+ ", +" @@@@@@@@@@@@@@@@@@@@@/ ", +" 8@@@@@@@@@@@@@@@[ =@@| ", +" ;@@:::@@@@@@@@@[ %@@[ ", +" @@9 (@@@@@@@4 =@@ ", +" ,@@ {:@@: {@! ", +" !@@ << 3@@0 ", +" !@- 3@@6 ", +" ]@( (@[ ", +" 7@@ ]@ ", +" 7@@ * ", +" 7@} ", +" 7@ ", +" . ", +" "}; |