summaryrefslogtreecommitdiff
path: root/community/gnuchess/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gnuchess/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
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
+}