desktop/freeciv/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 221bef0135 FreeCiv 2.3.4
2013-02-16 22:18:30 +00:00

39 lines
884 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.4
pkgrel=1
pkgdesc="Multiplayer clone of Civilization™."
arch=('i686' 'x86_64')
url="http://www.freeciv.org/"
license=('GPL2')
depends=('bzip2' 'freetype2' 'readline' 'sdl' 'sdl_image' 'sdl_mixer')
changelog=ChangeLog
categories=('games')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('2a49c417ffedd54cf648adf1ddf707a9')
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
}