updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vavoom-allegrogl / PKGBUILD
blobca211f31ceccd05a1515e690a29e04aac3c62b03
1 # Contributor: Christoph Zeiler <rabyteNOSPAM_at_moonblade.dot.org>
3 pkgname=vavoom-allegrogl
4 pkgver=1.30
5 pkgrel=1
6 pkgdesc="A highly advanced Doom engine port with added support for Heretic/Hexen/Strife"
7 arch=('i686' 'x86_64')
8 url="http://vavoom-engine.com/"
9 license=('GPL')
10 depends=('libgl' 'wxgtk' 'openal' 'libmad' 'allegrogl' 'libvorbis' 'libmikmod')
11 optdepends=('timidity++ (MIDI music output)' 'freedoom' 'doom1-wad' \
12         'vavoom-models' 'vavoom-textures')
13 makedepends=('cmake>=2.4')
14 provides=('vavoom')
15 conflicts=('vavoom')
16 install=vavoom.install
17 source=(http://downloads.sourceforge.net/vavoom/vavoom-$pkgver.tar.bz2 \
18         vavoom-$pkgver-noiwad-fix.patch \
19         vavoom-$pkgver-timidity++path.patch \
20         vavoom-$pkgver-gcc44-fix.patch)
21 md5sums=('205c3645006232d75790fb8779a54e85'
22          '0498f9cf9658a600c855b608554b5261'
23          '14cc2ff050c254d3f6ada43f59ce32e2')
25 build() {
26   cd vavoom-$pkgver
28   patch -Np0 -i ../vavoom-$pkgver-noiwad-fix.patch || return 1
29   patch -Np0 -i ../vavoom-$pkgver-timidity++path.patch || return 1
30   patch -Np1 -i ../vavoom-$pkgver-gcc44-fix.patch || return 1
32   cmake . \
33         -DCMAKE_INSTALL_PREFIX=/usr \
34         -DIWADDIR="-IWADDIR \"/usr/share/doom\" -opengl" \
35         -DWITH_ALLEGRO=Y \
36         || return 1
38   make DESTDIR="$pkgdir" install
41 # vim:set ts=2 sw=2 et: