diff options
Diffstat (limited to 'testing/mpfr/PKGBUILD')
-rw-r--r-- | testing/mpfr/PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/testing/mpfr/PKGBUILD b/testing/mpfr/PKGBUILD index d76bbc55c..b776ffbce 100644 --- a/testing/mpfr/PKGBUILD +++ b/testing/mpfr/PKGBUILD @@ -1,13 +1,12 @@ -# $Id: PKGBUILD 139633 2011-10-03 23:32:17Z allan $ +# $Id: PKGBUILD 140158 2011-10-08 00:54:01Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: damir <damir@archlinux.org> pkgname=mpfr _pkgver=3.1.0 -pkgver=${_pkgver} -#_patchlevel=p4 -#pkgver=${_pkgver}.${_patchlevel} -pkgrel=2 +_patchlevel=p1 +pkgver=${_pkgver}.${_patchlevel} +pkgrel=1 pkgdesc="Multiple-precision floating-point library" arch=('i686' 'x86_64') url="http://www.mpfr.org/" @@ -15,12 +14,14 @@ license=('LGPL') depends=('gmp>=5.0') options=('!libtool') install=mpfr.install -source=(http://www.mpfr.org/mpfr-current/mpfr-${_pkgver}.tar.xz) -md5sums=('6e495841bb026481567006cec0f821c3') +source=(http://www.mpfr.org/mpfr-current/mpfr-${_pkgver}.tar.xz + mpfr-${_pkgver}.${_patchlevel}.patch) +md5sums=('6e495841bb026481567006cec0f821c3' + 'ec988293368d4988c76f50d6a3460166') build() { cd "${srcdir}/${pkgname}-${_pkgver}" - #patch -Np1 -i $srcdir/mpfr-${_pkgver}.${_patchlevel}.patch + patch -Np1 -i $srcdir/mpfr-${_pkgver}.${_patchlevel}.patch ./configure --prefix=/usr --enable-thread-safe --enable-shared make } |