desktop/freeciv/PKGBUILD

39 lines
884 B
Bash
Raw Normal View History

2010-12-12 12:03:20 +08:00
#
# Games Packages for Chakra, part of chakra-project.org
#
2011-12-09 06:00:26 +08:00
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
2010-12-12 12:03:20 +08:00
pkgname=freeciv
2013-12-01 00:40:29 +08:00
pkgver=2.4.1
2013-02-17 06:18:30 +08:00
pkgrel=1
2010-12-12 12:03:20 +08:00
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')
2010-12-12 12:03:20 +08:00
changelog=ChangeLog
2012-03-07 19:00:46 +08:00
categories=('games')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
2013-12-01 00:40:29 +08:00
md5sums=('9f280f320be0d597a29efe040f1b0025')
2010-12-12 12:03:20 +08:00
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-client=sdl \
--enable-shared
2010-12-12 12:03:20 +08:00
make
}
package() {
cd $srcdir/$pkgname-$pkgver
2011-08-22 18:27:42 +08:00
install -dm 755 $pkgdir/etc
2010-12-12 12:03:20 +08:00
make DESTDIR=$pkgdir install
2011-08-22 18:27:42 +08:00
# Link to SDL client.
cd $pkgdir/usr/bin
ln -s freeciv-sdl freeciv
2010-12-12 12:03:20 +08:00
}