[arch-commits] Commit in qrupdate/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat May 9 11:03:58 UTC 2020


    Date: Saturday, May 9, 2020 @ 11:03:58
  Author: arojas
Revision: 625934

BUILDINFO rebuild, honor system build flags

Modified:
  qrupdate/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-09 10:48:53 UTC (rev 625933)
+++ PKGBUILD	2020-05-09 11:03:58 UTC (rev 625934)
@@ -4,7 +4,7 @@
 
 pkgname=qrupdate
 pkgver=1.1.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Fortran library for fast updates of QR and Cholesky decompositions"
 url="https://sourceforge.net/projects/qrupdate"
 makedepends=(gcc-fortran)
@@ -14,6 +14,11 @@
 source=(https://downloads.sourceforge.net/project/qrupdate/qrupdate/1.2/$pkgname-$pkgver.tar.gz)
 sha256sums=('e2a1c711dc8ebc418e21195833814cb2f84b878b90a2774365f0166402308e08')
 
+prepare() {
+# Honor system build flags
+  sed -e 's|^FFLAGS.*|FFLAGS=${CFLAGS} ${LDFLAGS}|' -i $pkgname-$pkgver/Makeconf
+}
+
 build() {
   cd $pkgname-$pkgver
   make PREFIX=/usr solib



More information about the arch-commits mailing list