summaryrefslogtreecommitdiff
path: root/community/openarena/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/openarena/PKGBUILD')
-rw-r--r--community/openarena/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/openarena/PKGBUILD b/community/openarena/PKGBUILD
index 3ddebdcf4..128c30cba 100644
--- a/community/openarena/PKGBUILD
+++ b/community/openarena/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 60141 2011-12-05 22:52:51Z svenstaro $
+# $Id: PKGBUILD 60611 2011-12-14 23:55:11Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
@@ -6,13 +6,14 @@
pkgname=openarena
pkgver=0.8.5
_oldver=0.8.1
-pkgrel=3
+pkgrel=4
pkgdesc="A violent, sexy, multiplayer first person shooter based on the ioquake3 engine"
arch=('i686' 'x86_64')
url="http://openarena.ws/"
license=('GPL')
depends=('sdl' 'libvorbis' 'curl' 'openarena-data')
makedepends=('openal' 'mesa')
+optdepends=('openal')
source=(http://download.tuxfamily.org/$pkgname/rel/081/oa081.zip
http://download.tuxfamily.org/$pkgname/rel/085/oa085p.zip
$url/svn/source/081/$pkgname-engine-$_oldver-1.tar.bz2
@@ -38,6 +39,7 @@ build() {
cd $srcdir/$pkgname-engine-$_oldver
patch -Np0 < $srcdir/strcpy-memmove.patch
+ sed -i 's/#define ALDRIVER_DEFAULT "libopenal.so.0"/#define ALDRIVER_DEFAULT "libopenal.so.1"/g' code/client/snd_openal.c
make DEFAULT_BASEDIR=/usr/share/$pkgname \
BUILD_CLIENT_SMP=0 \