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

Stéphane Gaudreault stephane at archlinux.org
Thu Jan 13 16:14:39 UTC 2011


    Date: Thursday, January 13, 2011 @ 11:14:39
  Author: stephane
Revision: 105864

upgpkg: libmpc 0.8.2-2
Rebuild of old package, Tidy up PKGBUILD

Modified:
  libmpc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-13 15:23:17 UTC (rev 105863)
+++ PKGBUILD	2011-01-13 16:14:39 UTC (rev 105864)
@@ -6,7 +6,7 @@
 pkgrel=2
 pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
 arch=('i686' 'x86_64')
-url="http://www.multiprecision.org"
+url="http://www.multiprecision.org/"
 license=('LGPL')
 depends=('mpfr>=3.0.0')
 options=('!libtool')
@@ -15,14 +15,14 @@
 md5sums=('e98267ebd5648a39f881d66797122fb6')
 
 build() {
-  cd $srcdir/mpc-$pkgver
+  cd "${srcdir}/mpc-${pkgver}"
   ./configure --prefix=/usr
   make
   make check
 }
 
 package() {
-  cd $srcdir/mpc-$pkgver
-  make DESTDIR=$pkgdir/ install
-  mv -f $pkgdir/usr/share/info/{mpc,libmpc}.info
+  cd "${srcdir}/mpc-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info
 }




More information about the arch-commits mailing list