diff options
Diffstat (limited to 'extra/wesnoth/PKGBUILD')
-rw-r--r-- | extra/wesnoth/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/wesnoth/PKGBUILD b/extra/wesnoth/PKGBUILD new file mode 100644 index 000000000..a60a35818 --- /dev/null +++ b/extra/wesnoth/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 112017 2011-03-03 06:20:54Z eric $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Jacobo Arvelo <unix4all@ya.com> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> + +pkgname=wesnoth +pkgver=1.8.5 +pkgrel=3 +pkgdesc="A turn-based strategy game on a fantasy world" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.wesnoth.org/" +depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'fribidi' 'boost-libs' 'pango' 'lua' "wesnoth-data=${pkgver}" 'dbus-core') +makedepends=('boost') +install=wesnoth.install +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 + wesnoth-libpng-1.4.0.patch) +md5sums=('a800285d1406690755dd0ea22b98b6df' + 'ca7412ffc4682ef55ddf82d56b0e2f08') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ../wesnoth-libpng-1.4.0.patch + ./autogen.sh + ./configure --prefix=/usr --localstatedir=/var --enable-tools --enable-editor --enable-server + make DESTDIR="${pkgdir}" install-exec +} |