[arch-ports] [arch64] gnuchess works

Ivan Stankovic pokemon at fly.srk.fer.hr
Fri May 5 16:23:00 EDT 2006


Hello,

Here's the PKGBUILD for gnuchess...

-- 
Ivan Stankovic, ivan.stankovic at fer.hr
-------------- next part --------------
# $Id: PKGBUILD,v 1.9 2004/08/20 19:09:14 judd Exp $
# Maintainer: Jason Chu <jason at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=gnuchess
pkgver=5.07
pkgrel=2
pkgdesc="Lets most modern computers play a full game of chess"
depends=('glibc' 'ncurses' 'readline')
source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
md5sums=('259da00aa559e5624c65279484fccaf7')
url="http://www.gnu.org/software/chess/chess.html"
build() {
  cd $startdir/src/$pkgname-$pkgver

  # remove unneeded 'static' keyword
  sed -i 's/^static pthread_t input_thread;/pthread_t input_thread;/' src/input.c

  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}


More information about the arch-ports mailing list