PKGBUILDs/extra/wesnoth/PKGBUILD

24 lines
858 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 51382 2009-09-07 21:10:04Z tpowa $
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Jacobo Arvelo <unix4all@ya.com>
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=wesnoth
pkgver=1.6.5
pkgrel=1
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' 'libvorbis' 'fribidi' 'freetype2' 'gcc-libs' 'boost' 'pango')
install=wesnoth.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --localstatedir=/var --enable-tools --enable-editor --enable-server
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('493826bbd9ba355930765a7e8fe3749a')