mirror of
https://github.com/archlinux/aur.git
synced 2026-02-01 04:04:27 +01:00
7.5.0
This commit is contained in:
parent
fa6b2b2abe
commit
801c8f0ea0
2 changed files with 11 additions and 8 deletions
6
.SRCINFO
6
.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
|
||||
|
|
|
|||
13
PKGBUILD
13
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue