1 # Contributor: FrozenFox <frozenfoxz@gmail.com>
6 pkgdesc="Community updated Tremulous client (devel)"
8 url="http://www.tremfusion.net/"
10 depends=('tremulous' 'curl' 'directfb' 'freetype2' 'libogg' 'ncurses' 'sdl')
11 makedepends=('mercurial')
12 optdepends=("openal: OpenAL audio support")
13 conflicts=('tremfusion')
14 provides=('tremfusion')
16 install=tremfusion.install
17 conflicts=('tremfusion')
18 source=('http://www.tremfusion.net/downloads/z-tremfusion-menu-0.99r3.pk3'
21 md5sums=('e04e75d705351d3450923a6dc1fd0cd8'
22 'f49d5326d4fdfde01730dbdf0338e360'
23 '1dd34741fd50422f8103da142afddcc7')
24 _hgroot="http://www.tremfusion.net/hg/tremfusion/default"
28 msg "Connecting to mercurial server..."
32 # Compile and install the game binaries
34 make DESTDIR=${pkgdir} \
36 INSTALL_PREFIX="/opt/tremulous" \
39 LIBDIR="/opt/tremulous" install || return 1
41 # Install the game data
42 install ${srcdir}/*.pk3 ${pkgdir}/opt/tremulous/tremfusion || return 1
43 install ${srcdir}/default/build/release*/base/ui*.so \
44 ${pkgdir}/opt/tremulous/tremfusion || return 1
46 # Install the icon and start menu entry
47 install -m0644 -D ${srcdir}/tremfusion.png \
48 ${pkgdir}/usr/share/pixmaps/tremfusion.png || return 1
49 install -m0644 -D ${srcdir}/tremfusion.desktop \
50 ${pkgdir}/usr/share/applications/tremfusion.desktop || return 1