summaryrefslogtreecommitdiff
path: root/community/warsow/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
committerroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
commit40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (patch)
treefaeb03af48db54c663f74f3f188b9c1c56ca6a0b /community/warsow/PKGBUILD
parentc173ac862828a54925737fc1d90ede1dd09a312c (diff)
Sun May 1 22:33:26 UTC 2011
Diffstat (limited to 'community/warsow/PKGBUILD')
-rw-r--r--community/warsow/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/warsow/PKGBUILD b/community/warsow/PKGBUILD
index e4c11f1e0..9df6caae8 100644
--- a/community/warsow/PKGBUILD
+++ b/community/warsow/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 42571 2011-03-17 17:04:27Z svenstaro $
+# $Id: PKGBUILD 45971 2011-04-30 23:33:26Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Slash <demodevil5[at]yahoo[dot]com>
# Contributor: Babets
# Contributor: Vain
pkgname=warsow
-pkgver=0.61
+pkgver=0.62
pkgrel=1
pkgdesc="a free online multiplayer competitive FPS based on the Qfusion engine"
url="http://www.warsow.net/"
@@ -21,11 +21,11 @@ md5sums=('f9bf60c80820237f7097c4e50a9582cd'
'ec00081d81ad9802a8ca42fc2eac5498'
'f73e10c26197178df71b941b10bf83d7'
'd7e4a69835bbcf801e58307e9d6b951e'
- '04bd29a63c3a43a7e3ea3a865b75e580')
+ '649568447e938efded07e77cdfb3accb')
build() {
- unset CFLAGS
- unset CXXFLAGS
+ #unset CFLAGS
+ #unset CXXFLAGS
# Extract Game Source Code
unzip -o warsow_${pkgver}_sdk.zip -d $srcdir/warsow-src
@@ -33,6 +33,9 @@ build() {
# Patch Makefile to use correct program to query for system information
sed -i 's:openal-config:pkg-config:g' $srcdir/warsow-src/source/Makefile
+ # Patch Makefile to correctly pass on ld opts
+ sed -i 's:--as-needed:-Wc,--as-needed:g' $srcdir/warsow-src/source/Makefile
+
# Patch Sound Code to point to base openal library
sed -i 's:libopenal.so.0:libopenal.so:g' $srcdir/warsow-src/source/snd_openal/snd_main.c