desktop/freeciv/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) e132ace49e Freeciv upgraded to 2.2.5 version.
2011-02-28 16:49:00 +00:00

36 lines
853 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=freeciv
pkgver=2.2.5
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=('e717de02c77139593f21b930245d1709')
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
}