[arch-commits] Commit in gnugo/repos (4 files)

Eric Bélanger eric at archlinux.org
Mon Feb 23 04:05:23 UTC 2009


    Date: Sunday, February 22, 2009 @ 23:05:23
  Author: eric
Revision: 27577

Merged revisions 27574 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/gnugo/trunk

........
  r27574 | eric | 2009-02-22 22:40:37 -0500 (Sun, 22 Feb 2009) | 2 lines
  
  upgpkg: gnugo 3.8-1
      Upstream update, Updated license, Added install scriptlet to handle info pages
........

Added:
  gnugo/repos/extra-i686/gnugo.install
    (from rev 27574, gnugo/trunk/gnugo.install)
Modified:
  gnugo/repos/extra-i686/	(properties)
  gnugo/repos/extra-i686/LICENSE
  gnugo/repos/extra-i686/PKGBUILD

---------------+
 LICENSE       |   29 ++++++++++++++---------------
 PKGBUILD      |   30 ++++++++++++++----------------
 gnugo.install |   18 ++++++++++++++++++
 3 files changed, 46 insertions(+), 31 deletions(-)


Property changes on: gnugo/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /gnugo/trunk:1-9214
   + /gnugo/trunk:1-27576

Modified: extra-i686/LICENSE
===================================================================
--- extra-i686/LICENSE	2009-02-23 03:56:06 UTC (rev 27576)
+++ extra-i686/LICENSE	2009-02-23 04:05:23 UTC (rev 27577)
@@ -1,7 +1,7 @@
                    Copyrights and License
 
-All files Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 and 2007
-by the Free Software Foundation except as noted below.
+All files Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+2007, 2008 and 2009 by the Free Software Foundation except as noted below.
 
 All files are under the GNU General Public License, which may be
 found in the file COPYING, with the following exceptions.
@@ -10,7 +10,7 @@
   the Free Software Foundation. In the interests of promoting 
   the Go Text Protocol these two files are licensed under a less 
   restrictive license than the GPL and are free for unrestricted use.
-  The GTP license appears at the end of this file.
+  The GTP license appears in each file.
 
 * The files gmp.c and gmp.h are copyright Bill Shubert. These
   are free for unrestricted use.
@@ -37,19 +37,19 @@
  * files gtp.c and gtp.h are licensed under less restrictive     *
  * terms than the rest of GNU Go.                                *
  *                                                               *
- * Copyright 2001, 2002, 2003, 2004, 2005, 2006 and 2007         *
- * by the Free Software Foundation.                              *
+ * Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 and  *
+ * 2009 by the Free Software Foundation.                         *
  *                                                               *
  * Permission is hereby granted, free of charge, to any person   *
- * obtaining a copy of the files gtp.c and gtp.h, to deal        *
- * in the Software without restriction, including without        *
- * limitation the rights to use, copy, modify, merge, publish,   *
- * distribute, and/or sell copies of the Software, and to permit *
- * persons to whom the Software is furnished to do so, provided  *
- * that the above copyright notice(s) and this permission notice *
- * appear in all copies of the Software and that both the above  *
- * copyright notice(s) and this permission notice appear in      *
- * supporting documentation.                                     *
+ * obtaining a copy of this file gtp.c, to deal in the Software  *
+ * without restriction, including without limitation the rights  *
+ * to use, copy, modify, merge, publish, distribute, and/or      *
+ * sell copies of the Software, and to permit persons to whom    *
+ * the Software is furnished to do so, provided that the above   *
+ * copyright notice(s) and this permission notice appear in all  *
+ * copies of the Software and that both the above copyright      *
+ * notice(s) and this permission notice appear in supporting     *
+ * documentation.                                                *
  *                                                               *
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY     *
  * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE    *
@@ -68,4 +68,3 @@
  * promote the sale, use or other dealings in this Software      *
  * without prior written authorization of the copyright holder.  *
 \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-                                    

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-02-23 03:56:06 UTC (rev 27576)
+++ extra-i686/PKGBUILD	2009-02-23 04:05:23 UTC (rev 27577)
@@ -4,25 +4,23 @@
 # Commiter: damir <damir at archlinux.org>
 
 pkgname=gnugo
-pkgver=3.7.12
-pkgrel=2
+pkgver=3.8
+pkgrel=1
 pkgdesc="This sofware is a program that plays the game of Go"
 arch=('i686' 'x86_64')
-license=('GPL' 'custom')
-#source=(http://ftp.gnu.org/gnu/gnugo/$pkgname-$pkgver.tar.gz)
-source=(http://match.stanford.edu/gnugo/archive/gnugo-$pkgver.tar.gz \
-	'LICENSE')
 url="http://www.gnu.org/software/gnugo/"
-depends=('ncurses' 'glibc')
-md5sums=('843c747edf2bcc0ff1f98514b164a7c4'
-         '2fe1ed5b9818815a4368f765d8024cc7')
+license=('GPL3' 'custom')
+depends=('ncurses' 'glibc' 'texinfo')
+install=gnugo.install
+source=(http://ftp.gnu.org/gnu/gnugo/$pkgname-$pkgver.tar.gz LICENSE)
+md5sums=('6db0a528df58876d2b0ef1659c374a9a' '4df5819356804397c553c95ea8164f11')
 
 build() {
-    cd $startdir/src/$pkgname-$pkgver
-    ./configure --prefix=/usr
-    make || return 1
-    make prefix=$startdir/pkg/usr install
-    rm ${pkgdir}/usr/share/info/dir
-    
-    install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr || return 1
+  make || return 1
+  make DESTDIR=$pkgdir install || return 1
+  rm -r ${pkgdir}/usr/share/info/dir
+  gzip ${pkgdir}/usr/share/info/*
+  install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }

Copied: gnugo/repos/extra-i686/gnugo.install (from rev 27574, gnugo/trunk/gnugo.install)
===================================================================
--- extra-i686/gnugo.install	                        (rev 0)
+++ extra-i686/gnugo.install	2009-02-23 04:05:23 UTC (rev 27577)
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(gnugo.info.gz gnugo.info-1.gz gnugo.info-2.gz gnugo.info-3.gz)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list