desktop/wesnoth/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 0c8a910479 The Battle for Wesnoth 1.10.2.
2012-04-26 19:05:34 +00:00

36 lines
909 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=wesnoth
pkgver=1.10.2
pkgrel=1
pkgdesc="A turn-based strategy game on a fantasy world."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.wesnoth.org/"
depends=('boost-libs' 'freetype2' 'fribidi' 'gcc-libs' 'icu' 'libvorbis' 'lua' 'pango' 'sdl_image' 'sdl_mixer'
'sdl_net' 'sdl_ttf')
makedepends=('boost' 'cmake')
conflicts=('wesnoth-dev' 'wesnoth-svn')
categories=('games')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('61f93437ba13a27a048e5ee2ee63736a')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}