# $Id: PKGBUILD 76871 2012-10-01 14:52:29Z bisson $ # Maintainer: Allan McRae # Contributor: Tom Newsom pkgname=gnuchess pkgver=6.0.2 pkgrel=1 pkgdesc="Lets most modern computers play a full game of chess" url="http://www.gnu.org/software/chess/chess.html" arch=('i686' 'x86_64') license=('GPL') depends=('glibc' 'ncurses' 'readline') source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz{,.sig}) md5sums=('566a145479c47f2f9d7d9b7b8119e1b0' '044487606aa14ecb29ab9613f83918d9') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $srcdir/$pkgname-$pkgver make prefix=$pkgdir/usr install }