Date: Monday, November 21, 2022 @ 07:25:12
Author: arojas
Revision: 1350792
archrelease: copy trunk to community-x86_64
Added:
qrupdate/repos/community-x86_64/PKGBUILD
(from rev 1350789, qrupdate/trunk/PKGBUILD)
Deleted:
qrupdate/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++----------------------------------
1 file changed, 29 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-21 07:25:10 UTC (rev 1350791)
+++ PKGBUILD 2022-11-21 07:25:12 UTC (rev 1350792)
@@ -1,35 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Marco Maso <[email protected]>
-# Contributor: Adrian Benson <[email protected]>
-
-pkgname=qrupdate
-pkgver=1.1.2
-pkgrel=4
-pkgdesc="Fortran library for fast updates of QR and Cholesky decompositions"
-url="https://sourceforge.net/projects/qrupdate"
-makedepends=(gcc-fortran)
-depends=(lapack)
-arch=(x86_64)
-license=(GPL3)
-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
-}
-
-check() {
- cd $pkgname-$pkgver
- make test
-}
-
-package() {
- cd $pkgname-$pkgver
- make PREFIX=/usr DESTDIR="$pkgdir" install
-}
Copied: qrupdate/repos/community-x86_64/PKGBUILD (from rev 1350789,
qrupdate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-21 07:25:12 UTC (rev 1350792)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Marco Maso <[email protected]>
+# Contributor: Adrian Benson <[email protected]>
+
+pkgname=qrupdate
+pkgver=1.1.5
+pkgrel=1
+pkgdesc='Fortran library for fast updates of QR and Cholesky decompositions'
+url='https://sourceforge.net/projects/qrupdate'
+makedepends=(gcc-fortran cmake)
+depends=(lapack)
+arch=(x86_64)
+license=(GPL3)
+source=(https://github.com/mpimd-csc/qrupdate-ng/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('912426f7cb9436bb3490c3102a64d9a2c3883d700268a26d4d738b7607903757')
+
+build() {
+ cmake -B build -S $pkgname-ng-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+check() {
+ cmake --build build --target test
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}