[arch-commits] Commit in libmpc/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sat May 15 00:29:13 UTC 2010


    Date: Friday, May 14, 2010 @ 20:29:12
  Author: allan
Revision: 80299

upgpkg: libmpc 0.8.2-1
upstream update

Modified:
  libmpc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-05-15 00:24:16 UTC (rev 80298)
+++ PKGBUILD	2010-05-15 00:29:12 UTC (rev 80299)
@@ -2,25 +2,27 @@
 # Maintainer: Allan McRae <allan at archlinux.org>
 
 pkgname=libmpc
-pkgver=0.8.1
-pkgrel=2
+pkgver=0.8.2
+pkgrel=1
 pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
 arch=('i686' 'x86_64')
 url="http://www.multiprecision.org"
 license=('LGPL')
-depends=('mpfr>=2.4.2-2')
+depends=('mpfr')
 options=('!libtool')
 install=libmpc.install
 source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz)
-md5sums=('5b34aa804d514cc295414a963aedb6bf')
+md5sums=('e98267ebd5648a39f881d66797122fb6')
 
 build() {
   cd $srcdir/mpc-$pkgver
   ./configure --prefix=/usr
-  make || return 1
+  make
+  make check
+}
+
+package() {
+  cd $srcdir/mpc-$pkgver
   make DESTDIR=$pkgdir/ install
-  
-  make check
-  
   mv -f $pkgdir/usr/share/info/{mpc,libmpc}.info
 }




More information about the arch-commits mailing list