[arch-commits] CVS update of extra/lib/mpfr (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Oct 28 20:20:25 UTC 2007


    Date: Sunday, October 28, 2007 @ 16:20:25
  Author: jgc
    Path: /home/cvs-extra/extra/lib/mpfr

Modified: PKGBUILD (1.5 -> 1.6)

upgpkg: mpfr 2.3.0-1
Update to 2.3.0, use standalone patches to keep track of them


----------+
 PKGBUILD |   26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)


Index: extra/lib/mpfr/PKGBUILD
diff -u extra/lib/mpfr/PKGBUILD:1.5 extra/lib/mpfr/PKGBUILD:1.6
--- extra/lib/mpfr/PKGBUILD:1.5	Fri May 18 19:18:24 2007
+++ extra/lib/mpfr/PKGBUILD	Sun Oct 28 16:20:25 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.5 2007/05/18 23:18:24 jgc Exp $
+# $Id: PKGBUILD,v 1.6 2007/10/28 20:20:25 jgc Exp $
 # Maintainer:
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=mpfr
-pkgver=2.2.1
-pkgrel=2
+pkgver=2.3.0
+pkgrel=1
 pkgdesc="multiple-precision floating-point library"
 arch=(i686 x86_64)
 license=('GPL' 'LGPL')
@@ -12,13 +12,23 @@
 depends=('gmp>=4.1.0')
 options=('!libtool')
 source=(http://www.mpfr.org/mpfr-current/mpfr-${pkgver}.tar.gz
-	mpfr-2.2.1-p1.patch)
-md5sums=('662bc38c75c9857ebbbc34e3280053cd')
+	http://www.mpfr.org/mpfr-current/patch01
+	http://www.mpfr.org/mpfr-current/patch02
+	http://www.mpfr.org/mpfr-current/patch03
+	http://www.mpfr.org/mpfr-current/patch04)
+md5sums=('93c5969e08520f243a0a1e636d0136ef'
+         '64d4d737ef4684721b8b2fe7764d5a95'
+         '831349c8ce7c52be1e2591acbb66a342'
+         '7cbc1bbe65314e2978ed088593191df1'
+         '1fab1f9a2c87be921e410ae930615466')
 		  
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
-  patch -Np1 -i ${startdir}/src/mpfr-2.2.1-p1.patch || return 1
-  ./configure --prefix=/usr --enable-thread-safe --enable-shared
+  patch -Np1 -i ${startdir}/src/patch01 || return 1
+  patch -Np1 -i ${startdir}/src/patch02 || return 1
+  patch -Np1 -i ${startdir}/src/patch03 || return 1
+  patch -Np1 -i ${startdir}/src/patch04 || return 1
+  ./configure --prefix=/usr --enable-thread-safe --enable-shared || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make DESTDIR=${startdir}/pkg install || return 1
 }




More information about the arch-commits mailing list