1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Allan McRae <allan@archlinux.org>
4 # Contributor: damir <damir@archlinux.org>
10 pkgver=${_pkgver}.p${_patchver}
12 pkgdesc='Multiple-precision floating-point library'
14 url='https://www.mpfr.org/'
17 source=(https://ftp.gnu.org/gnu/mpfr/mpfr-${_pkgver}.tar.xz{,.sig}
18 patches.diff) # wget https://www.mpfr.org/mpfr-${_pkgver}/allpatches -O patches.diff
19 sha512sums=('58e843125884ca58837ae5159cd4092af09e8f21931a2efd19c15de057c9d1dc0753ae95c592e2ce59a727fbc491af776db8b00a055320413cdcf2033b90505c'
21 '12cb553946b372da762b919a523a0dbb5c7b9f7931fd018013fb8e2a51b43d6ef421dda9c5ff6d89d7f75376d67f33205e7bcc3c69ef1aeaad5b3539218ec349')
22 b2sums=('dd88ae3a6a910ad8faeb791b49c3b1085de5d0d4c49c637c124bf4d9bc79fb621d0d1d69e07d0642b9b678f6d355a5830d083dfd189e1e91d0e04c970c10bd64'
24 'bbe00cff15d382663db623e1ef834e44192df1ad22c436d5b870fcf8bf438bd618d8ae332fe7ac4c0fd1d638e0764ab84a81954b91d54e0337ccad3568a3a83b')
25 validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
26 'A534BE3F83E241D918280AEB5831D11A0D4DB02A') # Vincent Lefevre <vincent@vinc17.net>
29 cd $pkgname-${_pkgver}
31 patch -p1 -i ../patches.diff
36 cd $pkgname-${_pkgver}
37 ./configure --prefix=/usr \
38 --enable-thread-safe \
44 cd $pkgname-${_pkgver}
46 make check-exported-symbols
50 cd $pkgname-${_pkgver}
51 make DESTDIR="$pkgdir" install