summaryrefslogtreecommitdiff
path: root/extra/gnuchess/PKGBUILD
blob: dedeaddb71ae162a7151130e3e78040c5ac17f37 (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 122210 2011-05-03 05:16:02Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=gnuchess
pkgver=6.0.0
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)
md5sums=('1a7a46188dab76f4339d22ff47c31515')

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

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