1 # Contributor: Slash <demodevil5[at]yahoo[dot]com>
6 pkgdesc="Mulitplayer team-based first person shooter game, similar to Tribes"
7 url="http://www.legendsthegame.net"
8 license=('custom:Legends Freeware Software License')
10 depends=('libxext' 'libogg' 'sdl' 'sdl_image' 'sdl_mixer' 'libpng' 'libjpeg' 'zlib' 'rsync')
12 source=('legends.launcher' 'legends.desktop' \
13 "http://run.legendsthegame.net/legends_linux-${pkgver}.run")
14 md5sums=('bb76660c04c94690c3817c4821ff3b24'
15 '4cd83521478cb4802ef3cd2ee72fc37f'
16 '5188d8aad55b8aa71e10e414ba12ee6b')
22 # Create Destination Directory
23 install -d $pkgdir/opt/
25 # Unpack Files from Installer into src/legends/
26 chmod +x $srcdir/legends_linux-${pkgver}.run
27 ./legends_linux-${pkgver}.run --noexec --target $srcdir/legends/
29 # Remove Junk from Game Directory
30 rm $srcdir/legends/OPENAL32.DLL
32 # Move Game Directory to Package Directory
33 cp -r $srcdir/legends/ $pkgdir/opt/
36 install -D -m 755 $srcdir/legends.launcher \
37 $pkgdir/usr/bin/legends
39 # Install Desktop File
40 install -D -m 644 $srcdir/legends.desktop \
41 $pkgdir/usr/share/applications/legends.desktop
44 install -D -m 644 $pkgdir/opt/legends/legends.ico \
45 $pkgdir/usr/share/pixmaps/legends.ico