updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / wesnoth-tinygui / PKGBUILD
blob4b5e71a48c1f76efc9cc34ccb50d99ae60162d49
1 # Maintainer: Fabian Schoelzel <myfirstname.mylastname@googlemail.com>
2 # Contributor: Jakob Gruber < jakob dot gruber at kabelnet dot at >
4 pkgname=wesnoth-tinygui
5 _pkgname=wesnoth
6 pkgver=1.8
7 pkgrel=1
8 pkgdesc="A turn-based strategy game on a fantasy world. Prepared for small portable devices."
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 url="http://www.wesnoth.org/"
12 depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'boost' 'python>=2.6' 'pango' 'dbus' 'lua')
13 makedepends=('imagemagick' 'cmake')
14 provides=('wesnoth')
15 conflicts=('wesnoth')
16 source=(http://downloads.sourceforge.net/sourceforge/$_pkgname/$_pkgname-$pkgver.tar.bz2)
18 build() {
19   cd ${srcdir}/$_pkgname-$pkgver
20   mkdir build_$pkgname
21   cd build_$pkgname
22   cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_STRICT_COMPILATION=off -DGUI=tiny -DENABLE_LOWMEM=on -DENABLE_SERVER=off -DENABLE_EDITOR=off -DENABLE_TOOLS=off -DENABLE_FRIBIDI=off .. || return 1
23   make || return 1
24   make DESTDIR=${pkgdir} install
27 md5sums=('07e4b97512e307c54dcfd86659a61e41')