[arch-commits] Commit in mpfr/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Feb 2 22:17:53 UTC 2019


    Date: Saturday, February 2, 2019 @ 22:17:52
  Author: jgc
Revision: 345130

archrelease: copy trunk to testing-x86_64

Added:
  mpfr/repos/testing-x86_64/
  mpfr/repos/testing-x86_64/PKGBUILD
    (from rev 345129, mpfr/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: mpfr/repos/testing-x86_64/PKGBUILD (from rev 345129, mpfr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-02-02 22:17:52 UTC (rev 345130)
@@ -0,0 +1,32 @@
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=mpfr
+pkgver=4.0.2
+pkgrel=1
+pkgdesc='Multiple-precision floating-point library'
+arch=(x86_64)
+url='https://www.mpfr.org/'
+license=(LGPL)
+depends=('gmp>=5.0')
+source=(https://www.mpfr.org/mpfr-$pkgver/mpfr-${pkgver}.tar.xz{,.asc})
+validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D')
+sha256sums=('1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a'
+            'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --enable-thread-safe --enable-shared
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+  make check-exported-symbols
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list