PKGBUILDs/extra/freeciv/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
833 B
Bash

# $Id: PKGBUILD 42733 2009-06-18 19:29:57Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=freeciv
pkgver=2.1.9
pkgrel=2
pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
arch=('i686' 'x86_64')
url="http://www.freeciv.org/"
license=('GPL')
depends=('gtk2' 'sdl_mixer' 'esound' 'readline>=6.0.00')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('caffaa201b2f5dfdfe00b6e6c3f32fb1')
sha1sums=('01a3500a9d0f9d9c9b95b7c4b57f2446f671a900')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}