[arch-commits] Commit in superlu (3 files)

Balló György bgyorgy at archlinux.org
Sun Jun 14 23:12:35 UTC 2020


    Date: Sunday, June 14, 2020 @ 23:12:34
  Author: bgyorgy
Revision: 644736

archrelease: copy trunk to community-x86_64

Added:
  superlu/repos/
  superlu/repos/community-x86_64/
  superlu/repos/community-x86_64/PKGBUILD
    (from rev 644735, superlu/trunk/PKGBUILD)

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

Copied: superlu/repos/community-x86_64/PKGBUILD (from rev 644735, superlu/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-06-14 23:12:34 UTC (rev 644736)
@@ -0,0 +1,42 @@
+# 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.1
+pkgrel=10
+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=("$pkgname-$pkgver.tar.gz::https://github.com/xiaoyeli/$pkgname/archive/v${pkgver}.tar.gz")
+sha256sums=('77582501dedef295eb74e4dc9433e2816d2d8be211eae307379c13d93c65bc71')
+
+prepare() {
+  [[ -d build ]] || mkdir build
+}
+
+build() {
+  cd build
+  cmake -G "Unix Makefiles" ../$pkgname-$pkgver/ \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS:BOOL=ON \
+    -Denable_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"
+}



More information about the arch-commits mailing list