summaryrefslogtreecommitdiff
path: root/core/mpfr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/mpfr/PKGBUILD')
-rw-r--r--core/mpfr/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/core/mpfr/PKGBUILD b/core/mpfr/PKGBUILD
index d47204c74..92977d037 100644
--- a/core/mpfr/PKGBUILD
+++ b/core/mpfr/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 180068 2013-03-15 22:55:34Z allan $
+# $Id: PKGBUILD 196659 2013-10-16 04:16:15Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=mpfr
_pkgver=3.1.2
-#_patchlevel=p1
-#pkgver=${_pkgver}.${_patchlevel}
-pkgver=${_pkgver}
+_patchlevel=p3
+pkgver=${_pkgver}.${_patchlevel}
+#pkgver=${_pkgver}
pkgrel=1
pkgdesc="Multiple-precision floating-point library"
arch=('i686' 'x86_64')
@@ -15,13 +15,15 @@ license=('LGPL')
depends=('gmp>=5.0')
options=('!libtool')
install=mpfr.install
-source=(http://www.mpfr.org/mpfr-current/mpfr-${_pkgver}.tar.xz{,.asc})
+source=(http://www.mpfr.org/mpfr-current/mpfr-${_pkgver}.tar.xz{,.asc}
+ mpfr-${_pkgver}-${_patchlevel}.patch)
md5sums=('e3d203d188b8fe60bb6578dd3152e05c'
- '63d1a00bedd4fed3717115297f70d029')
+ 'SKIP'
+ 'd22c975afc8599b06dd0d6c1128ac078')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
- #patch -p1 -i $srcdir/mpfr-${_pkgver}-${_patchlevel}.patch
+ patch -p1 -i $srcdir/mpfr-${_pkgver}-${_patchlevel}.patch
./configure --prefix=/usr --enable-thread-safe --enable-shared
make
}