summaryrefslogtreecommitdiff
path: root/extra/gnuchess/PKGBUILD
blob: e28cc7cffb938d07a098a0fc87f300848216b5c5 (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
# $Id: PKGBUILD 152136 2012-03-04 23:43:24Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

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
}