SHARE
TWEET

Untitled

a guest Aug 30th, 2010 204 Never
  1. # Contributor: Jonathan Wiersma <arch aur at jonw dot org>
  2. pkgname=freeciv-sdl
  3. _realname=freeciv
  4. pkgver=2.2.2
  5. pkgrel=1
  6. pkgdesc="A multiuser clone of the famous Microprose game of Civilization - SDL Client"
  7. url="http://www.freeciv.org/"
  8. arch=('i686' 'x86_64')
  9. depends=(sdl sdl_image sdl_mixer esd readline libggz ggz-client-libs ggz-gtk-client)
  10. makedepends=(pkgconfig)
  11. provides=("freeciv=$pkgver")
  12. conflicts=('freeciv' 'freeciv-gtk')
  13. license=(GPL)
  14. install="$pkgname.install"
  15. source=(http://ovh.dl.sourceforge.net/project/freeciv/Freeciv%202.2/$pkgver/freeciv-$pkgver.tar.bz2)
  16.  
  17. build() {
  18.   cd $srcdir/$_realname-$pkgver || return 1
  19.   ./configure --prefix=/usr --mandir=/usr/share/man \
  20.     --enable-client=sdl --enable-ggz-client || return 1
  21.   make || return 1
  22.   make DESTDIR=$pkgdir install || return 1
  23.   chmod 755 $pkgdir/etc || return 1
  24.   install -D -m644 data/civclient.dsc "$pkgdir/usr/share/ggz/civclient.dsc" || return 1
  25. }
  26.  
  27. md5sums=('fae46199dedaf0decc3b82dc06f95624')
RAW Paste Data
Top