summaryrefslogtreecommitdiff
path: root/extra/liquidwar/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/liquidwar/PKGBUILD')
-rw-r--r--extra/liquidwar/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/liquidwar/PKGBUILD b/extra/liquidwar/PKGBUILD
index e25f0ea94..6a6a9a640 100644
--- a/extra/liquidwar/PKGBUILD
+++ b/extra/liquidwar/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liquidwar
pkgver=5.6.4
pkgrel=6
pkgdesc="A unique multiplayer wargame"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ufoot.org/liquidwar/"
license=('GPL')
depends=('allegro4')
@@ -21,6 +21,7 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p0 -i "$srcdir/liquidwar-5.6.4-ovflfix.patch"
sed -i 's/python/python2/' doc/Makefile.in
+ sed -ri 's/(EXTERN_LIBS .+)$/\1 -lm/' src/Makefile.in
[ "$CARCH" == "x86_64" ] && EXTRAOPTS="--disable-asm"
LIBS='-lm' PYTHON=yes ./configure --prefix=/usr $EXTRAOPTS
make GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar