# $Id: PKGBUILD 205826 2014-02-10 19:19:39Z eric $ # Maintainer: Eric BĂ©langer pkgname=freeciv pkgver=2.4.2 pkgrel=1 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' 'lua51' 'sqlite' 'curl' 'libltdl') backup=('etc/freeciv/database.lua') install=freeciv.install source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) sha1sums=('fe8aad19a3d99ebc641678c948417fa7d0c762e9') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \ --enable-client=gtk2 --enable-fcdb=sqlite3 --enable-aimodules make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }