[arch-commits] Commit in superlu/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Nov 2 18:51:18 UTC 2021
Date: Tuesday, November 2, 2021 @ 18:51:17
Author: arojas
Revision: 1035407
archrelease: copy trunk to community-x86_64
Added:
superlu/repos/community-x86_64/PKGBUILD
(from rev 1035406, superlu/trunk/PKGBUILD)
Deleted:
superlu/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++----------------------------------
1 file changed, 35 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-02 18:51:08 UTC (rev 1035406)
+++ PKGBUILD 2021-11-02 18:51:17 UTC (rev 1035407)
@@ -1,42 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Joey Dumont <joey.dumont at gmail.com>
-# Contributor: Giuseppe Borzi <gborzi at ieee.org>
-# Contributor: Stefan Paquay <stefanpaquay at gmail.com>
-
-pkgname=superlu
-pkgver=5.2.2
-pkgrel=2
-pkgdesc="Set of subroutines to solve a sparse linear system"
-arch=(x86_64)
-url="https://github.com/xiaoyeli/superlu/"
-license=(BSD)
-depends=(blas)
-makedepends=(cmake gcc-fortran)
-source=("https://github.com/xiaoyeli/$pkgname/archive/v${pkgver}/$pkgname-$pkgver.tar.gz")
-sha256sums=('470334a72ba637578e34057f46948495e601a5988a602604f5576367e606a28c')
-
-prepare() {
- [[ -d build ]] || mkdir build
-}
-
-build() {
- cd build
- cmake -G "Unix Makefiles" ../$pkgname-$pkgver/ \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -Denable_internal_blaslib:BOOL=OFF \
- -DCMAKE_INSTALL_INCLUDEDIR:PATH=include/superlu/
- make
-}
-
-check() {
- cd build
- make test
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -Dm644 ../$pkgname-$pkgver/DOC/ug.pdf "$pkgdir/usr/share/doc/$pkgname/ug.pdf"
- install -Dm644 ../$pkgname-$pkgver/License.txt "$pkgdir/usr/share/licenses/$pkgname/License.txt"
-}
Copied: superlu/repos/community-x86_64/PKGBUILD (from rev 1035406, superlu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-02 18:51:17 UTC (rev 1035407)
@@ -0,0 +1,35 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Joey Dumont <joey.dumont at gmail.com>
+# Contributor: Giuseppe Borzi <gborzi at ieee.org>
+# Contributor: Stefan Paquay <stefanpaquay at gmail.com>
+
+pkgname=superlu
+pkgver=5.3.0
+pkgrel=1
+pkgdesc='Set of subroutines to solve a sparse linear system'
+arch=('x86_64')
+url='https://github.com/xiaoyeli/superlu/'
+license=('BSD')
+depends=('blas')
+makedepends=('cmake' 'gcc-fortran' 'ninja')
+source=("https://github.com/xiaoyeli/$pkgname/archive/v${pkgver}/$pkgname-$pkgver.tar.gz")
+sha256sums=('3e464afa77335de200aeb739074a11e96d9bef6d0b519950cfa6684c4be1f350')
+
+build() {
+ cmake -S $pkgname-$pkgver -B build -G Ninja \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -Denable_internal_blaslib:BOOL=OFF \
+ -DCMAKE_INSTALL_INCLUDEDIR:PATH=include/superlu/
+ cmake --build build
+}
+
+check(){
+ ctest --test-dir build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname-$pkgver/DOC/ug.pdf "$pkgdir/usr/share/doc/$pkgname/ug.pdf"
+ install -Dm644 $pkgname-$pkgver/License.txt "$pkgdir/usr/share/licenses/$pkgname/License.txt"
+}
More information about the arch-commits
mailing list