summaryrefslogtreecommitdiff
path: root/community/openlierox/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/openlierox/PKGBUILD')
-rw-r--r--community/openlierox/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/openlierox/PKGBUILD b/community/openlierox/PKGBUILD
index f0ece7215..8aa85dfa6 100644
--- a/community/openlierox/PKGBUILD
+++ b/community/openlierox/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 46134 2011-05-04 07:37:58Z andrea $
+# $Id: PKGBUILD 64779 2012-02-18 04:37:35Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=openlierox
pkgver=0.58_rc3
-pkgrel=3
+pkgrel=4
pkgdesc="A real-time excessive Worms-clone"
arch=('i686' 'x86_64')
url="http://www.openlierox.net/"
@@ -24,6 +24,9 @@ build() {
sed -i '1i #include <sys/stat.h>' src/breakpad/external/src/common/linux/file_id.cc
sed -i 's|/usr/share/games|/usr/share|g' include/FindFile.h
+ sed -i '/curl\/types\.h/d' include/HTTP.h
+ sed -i '/curl\/types\.h/d' src/common/HTTP.cpp
+
[[ -d build ]] && rm -r build
mkdir build
cmake -DCMAKE_BUILD_TYPE=Release \
@@ -31,6 +34,7 @@ build() {
-DSYSTEM_DATA_DIR=/usr/share \
-DHAWKNL_BUILTIN=OFF \
-DBREAKPAD=OFF
+
make
}