# Maintainer: Frederic Bezies # Contributor: Israel Herraiz # Contributor: jorge_barroso # Contributor: Ray Griffin # Contributor: Jonathan Wiersma pkgname=freeciv-sdl2 _pkgname=freeciv pkgver=3.0.7 pkgrel=1 pkgdesc="A multiuser clone of the famous Microprose game of Civilization - SDL2 Client" arch=('i686' 'x86_64') url="http://freeciv.org" license=('GPL') depends=('sdl2_image' 'sdl2_gfx' 'sdl2_ttf' 'lua53') conflicts=('freeciv' 'freeciv-git') options=('!libtool') source=(http://files.freeciv.org/stable/$_pkgname-$pkgver.tar.xz) sha256sums=('f6e606f17ed03d971272883f1a4879f5c1c2c247f64b8edefa6a25c8a2a8dac4') build() { cd "$srcdir"/$_pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \ --enable-client=sdl2 --enable-fcdb=sqlite3 --enable-aimodules make } package() { cd "$srcdir"/$_pkgname-$pkgver make DESTDIR="$pkgdir" install install -m644 client/org.freeciv.sdl2.desktop "$pkgdir"/usr/share/applications/org.freeciv.sdl2.desktop }