[arch-commits] Commit in sundials/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Apr 22 17:27:29 UTC 2022
Date: Friday, April 22, 2022 @ 17:27:29
Author: arojas
Revision: 1187372
archrelease: copy trunk to community-staging-x86_64
Added:
sundials/repos/community-staging-x86_64/
sundials/repos/community-staging-x86_64/PKGBUILD
(from rev 1187371, sundials/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: sundials/repos/community-staging-x86_64/PKGBUILD (from rev 1187371, sundials/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-04-22 17:27:29 UTC (rev 1187372)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Elmar Klausmeier <Elmar.Klausmeier at gmail.com>
+
+pkgname=sundials
+pkgver=6.2.0
+pkgrel=1
+pkgdesc='Suite of nonlinear differential/algebraic equation solvers'
+arch=(x86_64)
+url='https://computation.llnl.gov/casc/sundials/main.html'
+license=(BSD)
+depends=(openmpi suitesparse)
+makedepends=(cmake gcc-fortran python)
+source=(https://github.com/LLNL/sundials/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('f82939351d59fbc51693c131610f94706df13875097b5750de7287916a1ec295')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_STATIC_LIBS=OFF \
+ -DENABLE_MPI=ON \
+ -DENABLE_PTHREAD=ON \
+ -DENABLE_OPENMP=ON \
+ -DENABLE_KLU=ON \
+ -DKLU_LIBRARY_DIR=/usr/lib \
+ -DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list