[arch-commits] Commit in qd/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:19:38 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:19:37
  Author: felixonmars
Revision: 658417

archrelease: copy trunk to community-staging-x86_64

Added:
  qd/repos/community-staging-x86_64/
  qd/repos/community-staging-x86_64/PKGBUILD
    (from rev 658413, qd/trunk/PKGBUILD)

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

Copied: qd/repos/community-staging-x86_64/PKGBUILD (from rev 658413, qd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:19:37 UTC (rev 658417)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT CoM>
+# Contributor: Xyne <ca dot archlinux at xyne, backwards>
+
+pkgname=qd
+pkgver=2.3.22
+pkgrel=3
+pkgdesc='C++/Fortran-90 double-double and quad-double library'
+arch=(x86_64)
+url="https://crd-legacy.lbl.gov/~dhbailey/mpdist"
+license=(BSD)
+makedepends=(gcc-fortran)
+source=("https://crd-legacy.lbl.gov/~dhbailey/mpdist/$pkgname-$pkgver.tar.gz")
+sha256sums=('30c1ffe46b95a0e9fa91085949ee5fca85f97ff7b41cd5fe79f79bab730206d3')
+
+build() {
+  cd $pkgname-$pkgver
+
+  export FC=gfortran
+  ./configure --prefix=/usr --enable-shared
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list