summaryrefslogtreecommitdiff
path: root/extra/gnuchess/PKGBUILD
blob: d98c53d7354e4fd8a0324dd523303b91e023a56c (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
# $Id: PKGBUILD 137508 2011-09-08 07:31:10Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=gnuchess
pkgver=6.0.1
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' 'mips64el')
license=('GPL')
depends=('glibc' 'ncurses' 'readline')
source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
md5sums=('041888218f73886f146fa7fbf92190de')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make  
}

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