[arch-commits] Commit in gnuchess/repos (6 files)

Jonathan Steel jsteel at nymeria.archlinux.org
Mon Nov 11 19:27:46 UTC 2013


    Date: Monday, November 11, 2013 @ 20:27:45
  Author: jsteel
Revision: 100842

archrelease: copy trunk to community-i686, community-x86_64

Added:
  gnuchess/repos/community-i686/PKGBUILD
    (from rev 100841, gnuchess/trunk/PKGBUILD)
  gnuchess/repos/community-i686/gnuchess.install
    (from rev 100841, gnuchess/trunk/gnuchess.install)
  gnuchess/repos/community-x86_64/PKGBUILD
    (from rev 100841, gnuchess/trunk/PKGBUILD)
  gnuchess/repos/community-x86_64/gnuchess.install
    (from rev 100841, gnuchess/trunk/gnuchess.install)
Deleted:
  gnuchess/repos/community-i686/PKGBUILD
  gnuchess/repos/community-x86_64/PKGBUILD

-----------------------------------+
 /PKGBUILD                         |   62 ++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD           |   30 -----------------
 community-i686/gnuchess.install   |   20 +++++++++++
 community-x86_64/PKGBUILD         |   30 -----------------
 community-x86_64/gnuchess.install |   20 +++++++++++
 5 files changed, 102 insertions(+), 60 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-11-11 19:27:12 UTC (rev 100841)
+++ community-i686/PKGBUILD	2013-11-11 19:27:45 UTC (rev 100842)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <mail at jsteel.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at 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
-}

Copied: gnuchess/repos/community-i686/PKGBUILD (from rev 100841, gnuchess/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-11-11 19:27:45 UTC (rev 100842)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gnuchess
+pkgver=6.1.0
+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=('41b0771cee225eff9563d42e7f93263c')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  ./configure --prefix=/usr
+
+  make  
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  make prefix="$pkgdir"/usr install
+}

Copied: gnuchess/repos/community-i686/gnuchess.install (from rev 100841, gnuchess/trunk/gnuchess.install)
===================================================================
--- community-i686/gnuchess.install	                        (rev 0)
+++ community-i686/gnuchess.install	2013-11-11 19:27:45 UTC (rev 100842)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(gnuchess.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-11-11 19:27:12 UTC (rev 100841)
+++ community-x86_64/PKGBUILD	2013-11-11 19:27:45 UTC (rev 100842)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <mail at jsteel.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at 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
-}

Copied: gnuchess/repos/community-x86_64/PKGBUILD (from rev 100841, gnuchess/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-11-11 19:27:45 UTC (rev 100842)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gnuchess
+pkgver=6.1.0
+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=('41b0771cee225eff9563d42e7f93263c')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  ./configure --prefix=/usr
+
+  make  
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  make prefix="$pkgdir"/usr install
+}

Copied: gnuchess/repos/community-x86_64/gnuchess.install (from rev 100841, gnuchess/trunk/gnuchess.install)
===================================================================
--- community-x86_64/gnuchess.install	                        (rev 0)
+++ community-x86_64/gnuchess.install	2013-11-11 19:27:45 UTC (rev 100842)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(gnuchess.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list