1 # Contributor: Karsten Heiken <karsten[at]disposed[dot]de>
6 pkgdesc="Star Trek Voyager: Elite Force ported to the opensourc'ed Q3-engine. Retail game needed to play!"
8 depends=('sdl' 'openal')
9 url="http://thilo.kickchat.com/efport-progress/"
11 depends=('openal' 'sdl' 'libvorbis' 'bash' 'libmad')
12 optdepends=('curl: download maps, sounds, models ingame via http/ftp')
13 install=iostvoy.install
14 source=(http://thilo.kickchat.com/efport-progress/bin/linux/io_eliteforce-$pkgver.run
15 'stvoyhm.desktop' 'stvoyHM.launcher' 'stvoyded.launcher')
16 md5sums=('b4c45c90800fe8681b5ecec70d21b390'
17 '3ce2de8db8fbb48c21f0ae1d971f5d27'
18 '732558a53241f70b301bd574adecdaab'
19 '4e034dc72cee3100b06d128fd5b02a9b')
22 chmod +x io_eliteforce-$pkgver.run
23 ./io_eliteforce-$pkgver.run --noexec --tar xf
25 # Install correct version
26 if [ "$CARCH" = "x86_64" ]; then
28 tar xf iostvoyHM.x86_64.tar
29 install -D $srcdir/iostvefded.x86_64 \
30 $pkgdir/opt/iostvoy/iostvoyded
31 install -D $srcdir/iostvoyHM.x86_64 \
32 $pkgdir/opt/iostvoy/iostvoyHM
35 tar xf iostvoyHM.i386.tar
36 install -D $srcdir/iostvefded.i386 \
37 $pkgdir/opt/iostvoy/iostvoyded
38 install -D $srcdir/iostvoyHM.i386 \
39 $pkgdir/opt/iostvoy/iostvoyHM
42 # Install baseEF-directory
43 mkdir -p $pkgdir/opt/iostvoy/baseEF
44 install -m 644 $srcdir/*.pk3 \
45 $pkgdir/opt/iostvoy/baseEF/
48 install -D $srcdir/stvoyded.launcher \
49 $pkgdir/usr/bin/stvoyded
50 install -D $srcdir/stvoyHM.launcher \
51 $pkgdir/usr/bin/stvoyHM
54 install -D -m 644 $srcdir/stvoyhm.png \
55 $pkgdir/usr/share/pixmaps/stvoyhm.png
57 # Install Desktop File
58 install -D -m 644 $srcdir/stvoyhm.desktop \
59 $pkgdir/usr/share/applications/stvoyhm.desktop