summaryrefslogtreecommitdiff
path: root/community/gnuchess/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnuchess/PKGBUILD')
-rw-r--r--community/gnuchess/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/gnuchess/PKGBUILD b/community/gnuchess/PKGBUILD
new file mode 100644
index 000000000..d68d886f0
--- /dev/null
+++ b/community/gnuchess/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 88493 2013-04-18 15:55:51Z jsteel $
+# Maintainer: Jonathan Steel <mail@jsteel.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=gnuchess
+pkgver=6.0.3
+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')
+optdepends=('xboard: for a GUI')
+source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
+md5sums=('28625afb8f48b86211ee1d217c308064')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make prefix="$pkgdir"/usr install
+}