summaryrefslogtreecommitdiff
path: root/extra/freeciv/PKGBUILD
blob: 0d2cea0234e3d8cae299a37876f1d4d0d90a270b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 132082 2011-07-19 22:17:46Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=freeciv
pkgver=2.2.7
pkgrel=1
pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
arch=('i686' 'x86_64')
url="http://www.freeciv.org/"
license=('GPL')
depends=('gtk2' 'sdl_mixer' 'bzip2' 'hicolor-icon-theme')
options=('!libtool')
install=freeciv.install
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('db61c36222ad0bd1de233cf29226ff27')
sha1sums=('b7cf680a25e9006cb3a289a2e5c786dd385577cb')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --enable-client=gtk --enable-shared
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}