2010-12-12 12:03:20 +08:00
|
|
|
#
|
|
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
|
|
|
|
pkgname=freeciv
|
2011-07-18 03:00:40 +08:00
|
|
|
pkgver=2.2.7
|
2010-12-12 12:03:20 +08:00
|
|
|
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
|
2011-01-21 23:12:51 +08:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
|
2011-07-18 03:00:40 +08:00
|
|
|
md5sums=('db61c36222ad0bd1de233cf29226ff27')
|
2010-12-12 12:03:20 +08:00
|
|
|
|
|
|
|
build() {
|
2011-01-21 23:12:51 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-01-03 11:04:52 +08:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--enable-client=sdl \
|
|
|
|
--enable-shared
|
2010-12-12 12:03:20 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-01-21 23:12:51 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-01-03 11:04:52 +08:00
|
|
|
install -dm 755 $pkgdir/etc
|
2010-12-12 12:03:20 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|