# $Id: PKGBUILD 201416 2013-12-10 20:59:46Z eric $ # Maintainer: Eric BĂ©langer pkgname=freeciv pkgver=2.4.1 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=('16fddc97c91e99b31f23fc80746b3454f8f55f78') 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 }