summaryrefslogtreecommitdiff
path: root/extra/wesnoth/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wesnoth/PKGBUILD')
-rw-r--r--extra/wesnoth/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/wesnoth/PKGBUILD b/extra/wesnoth/PKGBUILD
index 67a9f56de..bdac470ae 100644
--- a/extra/wesnoth/PKGBUILD
+++ b/extra/wesnoth/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 125126 2011-05-25 17:01:35Z ibiru $
+# $Id: PKGBUILD 132797 2011-07-26 09:16:15Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Jacobo Arvelo <unix4all@ya.com>
@@ -6,7 +6,7 @@
pkgname=wesnoth
pkgver=1.8.6
-pkgrel=1
+pkgrel=2
pkgdesc="A turn-based strategy game on a fantasy world"
arch=('i686' 'x86_64')
license=('GPL')
@@ -15,13 +15,16 @@ depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'fribidi' 'boost-libs' 'pan
makedepends=('boost')
install=wesnoth.install
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- wesnoth-libpng-1.4.0.patch)
+ wesnoth-libpng-1.4.0.patch
+ wesnoth-1.8.6-boost-foreach.patch)
md5sums=('f1c3179869b01b61e253e74aeb241034'
- 'ca7412ffc4682ef55ddf82d56b0e2f08')
+ 'ca7412ffc4682ef55ddf82d56b0e2f08'
+ 'dc414ab7e1334941548e9db6db9c2460')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ../wesnoth-libpng-1.4.0.patch
+ patch -Np1 -i "${srcdir}/wesnoth-libpng-1.4.0.patch"
+ patch -Np1 -i "${srcdir}/wesnoth-1.8.6-boost-foreach.patch"
./autogen.sh
./configure --prefix=/usr --localstatedir=/var --enable-tools --enable-editor --enable-server
make DESTDIR="${pkgdir}" install-exec