From 801c8f0ea03ddd754f1374ab4bc18b9bb7e48e14 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Wed, 12 Nov 2025 18:18:39 +0100 Subject: [PATCH] 7.5.0 --- .SRCINFO | 6 +++--- PKGBUILD | 13 ++++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f52eb5810178..95241b13afb9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = sundials-seq pkgdesc = Suite of nonlinear differential/algebraic equation solvers (sequential version) - pkgver = 7.4.0 + pkgver = 7.5.0 pkgrel = 1 url = https://computing.llnl.gov/projects/sundials arch = x86_64 @@ -11,7 +11,7 @@ pkgbase = sundials-seq depends = suitesparse provides = sundials conflicts = sundials - source = https://github.com/LLNL/sundials/archive/v7.4.0/sundials-7.4.0.tar.gz - sha256sums = 3f84277b73922507beae83439b6a234d855fd53ba1f61728111968dea5fac29b + source = https://github.com/LLNL/sundials/archive/v7.5.0/sundials-7.5.0.tar.gz + sha256sums = 8b5fe715009cd0f1a0ff244729c2570e3e631d3bf357495e7813b5063d4d0cf3 pkgname = sundials-seq diff --git a/PKGBUILD b/PKGBUILD index 8e0843b47845..dbcaa1c80082 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ pkgname=sundials-seq _pkgname=sundials -pkgver=7.4.0 +pkgver=7.5.0 pkgrel=1 pkgdesc='Suite of nonlinear differential/algebraic equation solvers (sequential version)' arch=(x86_64) @@ -9,12 +9,13 @@ license=(BSD) depends=(suitesparse) makedepends=(cmake gcc-fortran python) source=(https://github.com/LLNL/sundials/archive/v$pkgver/$_pkgname-$pkgver.tar.gz) -sha256sums=('3f84277b73922507beae83439b6a234d855fd53ba1f61728111968dea5fac29b') +sha256sums=('8b5fe715009cd0f1a0ff244729c2570e3e631d3bf357495e7813b5063d4d0cf3') provides=(sundials) conflicts=(sundials) build() { - cmake -B build -S $_pkgname-$pkgver \ + cd $_pkgname-$pkgver + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_STATIC_LIBS=OFF \ -DENABLE_MPI=OFF \ @@ -24,12 +25,14 @@ build() { -DKLU_LIBRARY_DIR=/usr/lib \ -DKLU_INCLUDE_DIR=/usr/include/suitesparse \ -DEXAMPLES_ENABLE_C=OFF \ - -DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples + -DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples \ + -B build . cmake --build build } package() { + cd $_pkgname-$pkgver DESTDIR="$pkgdir" cmake --install build - install -Dm644 $_pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$_pkgname + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$_pkgname }