desktop/freeciv/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 3ba209f794 FreeCiv upgraded to 2.3.1 version.
2011-12-08 22:00:26 +00:00

38 lines
845 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=freeciv
pkgver=2.3.1
pkgrel=1
pkgdesc="Multiplayer clone of Civilization™."
arch=('i686' 'x86_64')
url="http://www.freeciv.org/"
license=('GPL2')
depends=('bzip2' 'freetype2' 'readline' 'sdl_image')
changelog=ChangeLog
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('efce9b2cd8b7a36017f1ebce59236dcb')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-client=sdl \
--enable-shared
make
}
package() {
cd $srcdir/$pkgname-$pkgver
install -dm 755 $pkgdir/etc
make DESTDIR=$pkgdir install
# Link to SDL client.
cd $pkgdir/usr/bin
ln -s freeciv-sdl freeciv
}