1 # Contributor: Alexander Minges <athemis at ish dot de>
6 pkgdesc="Westwood Red Alert game engine"
7 url="http://www.ohloh.net/projects/openredalert"
9 depends=('sdl' 'sdl_mixer')
11 provides=('openredalert_bin')
12 source=( http://downloads.sourceforge.net/sourceforge/openredalert/$pkgname-$pkgver-src.tar.gz openredalert.sh)
13 install=('openredalert.install')
14 md5sums=('37501829e76e5cc4775352ae36ab906e'\
15 'e3de4c227a868722f40fc6ccfd574ffc')
18 cd $startdir/src/$pkgname
19 make VERBOSE=1 || return 1
20 mkdir -p $pkgdir/usr/share/openredalert/data/settings/{ra,} $pkgdir/usr/share/openredalert/data/mix $pkgdir/usr/bin
21 cp $startdir/src/openredalert.sh $pkgdir/usr/bin/openredalert
22 chmod 755 $pkgdir/usr/bin/openredalert
23 install -D -m 644 bin/data/settings/* $pkgdir/usr/share/openredalert/data/settings
24 install -D -m 644 bin/data/settings/ra/* $pkgdir/usr/share/openredalert/data/settings/ra
25 install -D -m 755 bin/openredalert $pkgdir/usr/share/openredalert/openredalert