summaryrefslogtreecommitdiff
path: root/community/wesnoth/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wesnoth/PKGBUILD')
-rw-r--r--community/wesnoth/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/wesnoth/PKGBUILD b/community/wesnoth/PKGBUILD
index 2ff3f497d..59f1044d1 100644
--- a/community/wesnoth/PKGBUILD
+++ b/community/wesnoth/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 71216 2012-05-25 05:03:12Z svenstaro $
+# $Id: PKGBUILD 74014 2012-07-18 01:09:28Z ibiru $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
@@ -7,7 +7,7 @@
pkgname=wesnoth
pkgver=1.10.3
-pkgrel=1
+pkgrel=2
pkgdesc="A turn-based strategy game on a fantasy world"
arch=('i686' 'x86_64')
license=('GPL')
@@ -18,14 +18,18 @@ install=wesnoth.install
options=(!emptydirs)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
wesnoth.tmpfiles.conf
- wesnothd.rc.d)
+ wesnothd.rc.d
+ boost_foreach.patch)
md5sums=('b25354c71d58f82c2c60cc12c6f09c36'
'b8122f5054e3895c9c054e87460869dc'
- '85659b47d22dfdf4e4d046556973fc3e')
+ '85659b47d22dfdf4e4d046556973fc3e'
+ '07e78c6ece06ed10119fc57ebc16ea9d')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -Np0 < $srcdir/boost_foreach.patch
+
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \