summaryrefslogtreecommitdiff
path: root/community/gnuchess/PKGBUILD
blob: 7064553055978530e54328e0260a61933fd7eb5f (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
26
27
28
29
30
31
# $Id: PKGBUILD 101444 2013-11-25 18:39:13Z jsteel $
# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=gnuchess
pkgver=6.1.1
pkgrel=1
pkgdesc="Play chess against the computer on a terminal and an engine for graphical chess frontends"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/chess/chess.html"
license=('GPL3')
depends=('bash')
optdepends=('xboard: graphical frontend')
install=$pkgname.install
source=(http://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
md5sums=('1299cbd0025a7cf4fbba21e6c2ef6278')

build() {
  cd "$srcdir"/$pkgname-$pkgver

  ./configure --prefix=/usr

  make  
}

package() {
  cd "$srcdir"/$pkgname-$pkgver

  make prefix="$pkgdir"/usr install
}