summaryrefslogtreecommitdiff
path: root/community/gnuchess/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnuchess/PKGBUILD')
-rw-r--r--community/gnuchess/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/gnuchess/PKGBUILD b/community/gnuchess/PKGBUILD
new file mode 100644
index 000000000..ab77e7855
--- /dev/null
+++ b/community/gnuchess/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 76871 2012-10-01 14:52:29Z bisson $
+# 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
+}