[arch-commits] Commit in mpfr/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon May 3 07:41:25 UTC 2021
Date: Monday, May 3, 2021 @ 07:41:24
Author: dvzrv
Revision: 414212
upgpkg: mpfr 4.1.0-2: Rebuild mpfr to re-sign the package.
Update license array to the more correct GPL3 and LGPL3.
Run autoreconf -fiv in prepare().
Contact upstream about unsafe PGP key being used for release signatures.
Update maintainer info.
Modified:
mpfr/trunk/PKGBUILD
----------+
PKGBUILD | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-03 07:20:01 UTC (rev 414211)
+++ PKGBUILD 2021-05-03 07:41:24 UTC (rev 414212)
@@ -1,32 +1,44 @@
-# Maintainer: Allan McRae <allan at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
# Contributor: damir <damir at archlinux.org>
pkgname=mpfr
pkgver=4.1.0
-pkgrel=1
+pkgrel=2
pkgdesc='Multiple-precision floating-point library'
arch=(x86_64)
url='https://www.mpfr.org/'
-license=(LGPL)
-depends=('gmp>=5.0')
-source=(https://ftp.gnu.org/gnu/mpfr/mpfr-${pkgver}.tar.xz{,.sig})
-validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D')
-sha256sums=('0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f'
+license=('GPL3' 'LGPL3')
+depends=('glibc' 'gmp')
+makedepends=('autoconf-archive')
+source=("https://ftp.gnu.org/gnu/mpfr/mpfr-${pkgver}.tar.xz"{,.sig})
+sha512sums=('1bd1c349741a6529dfa53af4f0da8d49254b164ece8a46928cdb13a99460285622d57fe6f68cef19c6727b3f9daa25ddb3d7d65c201c8f387e421c7f7bee6273'
'SKIP')
+b2sums=('41d1be0c4b557760f12a4525ad3a84b6e2cd6f0927c935fcfba577ac0490e582d1ae4b581dce58e21e705cf9d7c88373054d7fb7a94bb32c69b339f99a25dc68'
+ 'SKIP')
+# NOTE: key holder contacted about unsafe key (2021-05-03)
+validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D') # Vincent Lefevre <vincent at vinc17.net>
+prepare() {
+ cd "$pkgname-$pkgver"
+ autoreconf -fiv
+}
+
build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --enable-thread-safe --enable-shared
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-thread-safe \
+ --enable-shared
make
}
check() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
make check
make check-exported-symbols
}
package() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list