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

Allan McRae allan at archlinux.org
Thu Dec 24 03:01:35 UTC 2020


    Date: Thursday, December 24, 2020 @ 03:01:35
  Author: allan
Revision: 404964

archrelease: copy trunk to testing-x86_64

Added:
  libmpc/repos/testing-x86_64/
  libmpc/repos/testing-x86_64/PKGBUILD
    (from rev 404963, libmpc/trunk/PKGBUILD)

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

Copied: libmpc/repos/testing-x86_64/PKGBUILD (from rev 404963, libmpc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-12-24 03:01:35 UTC (rev 404964)
@@ -0,0 +1,31 @@
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=libmpc
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
+arch=('x86_64')
+url="http://www.multiprecision.org/"
+license=('LGPL')
+depends=('mpfr')
+source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig})
+md5sums=('9f16c976c25bb0f76b50be749cd7a3a8'
+         'SKIP')
+validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3')  # Andreas Enge
+
+build() {
+  cd "${srcdir}/mpc-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}/mpc-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/mpc-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info
+}



More information about the arch-commits mailing list