diff options
Diffstat (limited to 'abs/core/mpfr/PKGBUILD')
-rw-r--r-- | abs/core/mpfr/PKGBUILD | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/abs/core/mpfr/PKGBUILD b/abs/core/mpfr/PKGBUILD index 4912c45..0f21bef 100644 --- a/abs/core/mpfr/PKGBUILD +++ b/abs/core/mpfr/PKGBUILD @@ -1,36 +1,33 @@ -# $Id: PKGBUILD 163011 2012-07-05 13:48:54Z allan $ +# $Id$ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: damir <damir@archlinux.org> pkgname=mpfr -_pkgver=3.1.1 -#_patchlevel=p1 -#pkgver=${_pkgver}.${_patchlevel} -pkgver=${_pkgver} +pkgver=4.0.1 pkgrel=1 -pkgdesc="Multiple-precision floating-point library" -arch=('i686' 'x86_64') -url="http://www.mpfr.org/" -license=('LGPL') +pkgdesc='Multiple-precision floating-point library' +arch=(x86_64) +url='http://www.mpfr.org/' +license=(LGPL) depends=('gmp>=5.0') -options=('!libtool') -install=mpfr.install -source=(http://www.mpfr.org/mpfr-current/mpfr-${_pkgver}.tar.xz{,.asc}) -md5sums=('91d51c41fcf2799e4ee7a7126fc95c17' - '91b187a2229211e543ba6fb82a079b2c') +source=(http://www.mpfr.org/mpfr-$pkgver/mpfr-${pkgver}.tar.xz{,.asc}) +validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D') +sha256sums=('67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e' + 'SKIP') build() { - cd "${srcdir}/${pkgname}-${_pkgver}" + cd $pkgname-$pkgver ./configure --prefix=/usr --enable-thread-safe --enable-shared make } check() { - cd "${srcdir}/${pkgname}-${_pkgver}" + cd $pkgname-$pkgver make check + make check-exported-symbols } package() { - cd "${srcdir}/${pkgname}-${_pkgver}" - make DESTDIR="${pkgdir}" install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install } |