[arch-commits] Commit in gmp/trunk (PKGBUILD gmp.install)

Allan McRae allan at archlinux.org
Tue May 12 09:57:49 UTC 2009


    Date: Tuesday, May 12, 2009 @ 05:57:49
  Author: allan
Revision: 39106

upgpkg: gmp 4.3.0-1
    upstream update, remove texinfo dep

Modified:
  gmp/trunk/PKGBUILD
  gmp/trunk/gmp.install

-------------+
 PKGBUILD    |   10 +++++-----
 gmp.install |    2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-12 09:56:06 UTC (rev 39105)
+++ PKGBUILD	2009-05-12 09:57:49 UTC (rev 39106)
@@ -2,17 +2,17 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Maintainer: Thomas Baechler <thomas at archlinux.org>
 pkgname=gmp
-pkgver=4.2.4
-pkgrel=1.1
+pkgver=4.3.0
+pkgrel=1
 pkgdesc="A free library for arbitrary precision arithmetic"
-arch=(i686 x86_64)
-depends=('gcc-libs' 'texinfo')
+arch=('i686' 'x86_64')
+depends=('gcc-libs')
 license=('LGPL3')
 options=(!libtool)
 install=gmp.install
 source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2)
 url="http://gmplib.org/"
-md5sums=('fc1e3b3a2a5038d4d74138d0b9cf8dbe')
+md5sums=('9687383f0def0cc48dfc19afa36f1eb5')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"

Modified: gmp.install
===================================================================
--- gmp.install	2009-05-12 09:56:06 UTC (rev 39105)
+++ gmp.install	2009-05-12 09:57:49 UTC (rev 39106)
@@ -2,6 +2,7 @@
 info_files=(gmp.info gmp.info-1 gmp.info-2)
 
 post_install() {
+  [ -x usr/bin/install-info ] || return 0
   for f in ${info_files[@]}; do
     install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
   done
@@ -12,6 +13,7 @@
 }
 
 pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
   for f in ${info_files[@]}; do
     install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
   done




More information about the arch-commits mailing list