updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / fs2_open / PKGBUILD
blobc7e25b553e364992a113f105fb62daf1f5aded52
1 # Contributor: Lone_Wolf <lonewolf@xs4all.nl>
2 # Maintainer : Mr_Robotic_Evil <mr.robotic.evil@googlemail.com>
4 pkgname=fs2_open
5 pkgver=3_6_12
6 pkgrel=1
7 pkgdesc="An enhancement of the original Freespace 2 engine"
8 url="http://scp.indiegames.us"
9 arch=('i686' 'x86_64')
10 license=('custom:freespace2')
11 depends=('openal' 'libvorbis' 'sdl' 'mesa' 'libtheora')
12 makedepends=('lua')
13 conflicts=('fs2_open-svn')
14 install=fs2_open.install
15 source=(http://swc.fs2downloads.com/builds/${pkgname}_${pkgver}_src.tgz)
16 md5sums=('afcbcc42de56db0e5942e4551e5865e9')
18 build()
20   msg "Starting make..."
21   if [ -d $srcdir/$pkgname-build ]; then
22      rm -r $srcdir/$pkgname-build
23   else mkdir $srcdir/$pkgname-build
24   fi
25   cp -r $srcdir/${pkgname}_${pkgver}_src/* $srcdir/$pkgname-build
26   cd $srcdir/$pkgname-build
28   #Build
29   ./autogen.sh --enable-speech --enable-inferno
30   make
32   #Install the license
33   install -D -m644 COPYING $pkgdir/usr/share/licenses/freespace2/COPYING 
35   #Install the engine (The engine is compiled to one binary..)
36   install -D -m755 code/fs2_open_INF_r $pkgdir/usr/bin/fs2_open_r
37   
40 # vim:set ts=2 sw=2 et: