[arch-commits] Commit in sundials/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu May 21 20:50:43 UTC 2020
Date: Thursday, May 21, 2020 @ 20:50:42
Author: arojas
Revision: 631494
archrelease: copy trunk to community-x86_64
Added:
sundials/repos/community-x86_64/PKGBUILD
(from rev 631493, sundials/trunk/PKGBUILD)
Deleted:
sundials/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 34 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-21 20:50:28 UTC (rev 631493)
+++ PKGBUILD 2020-05-21 20:50:42 UTC (rev 631494)
@@ -1,40 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Elmar Klausmeier <Elmar.Klausmeier at gmail.com>
-
-pkgname=sundials
-pkgver=5.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://computation.llnl.gov/projects/sundials/download/$pkgname-$pkgver.tar.gz")
-sha256sums=('95f058acce5bd66e654de65acdbb1c9f44c90cf1b4e28f8d933cdb4415ebba3e')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_C_FLAGS="${CFLAGS} -fPIC" \
- -DMPI_ENABLE=ON \
- -DPTHREAD_ENABLE=ON \
- -DOPENMP_ENABLE=ON \
- -DF77_INTERFACE_ENABLE=ON \
- -DKLU_ENABLE=ON \
- -DKLU_LIBRARY_DIR=/usr/lib \
- -DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-
- install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: sundials/repos/community-x86_64/PKGBUILD (from rev 631493, sundials/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-21 20:50:42 UTC (rev 631494)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Elmar Klausmeier <Elmar.Klausmeier at gmail.com>
+
+pkgname=sundials
+pkgver=5.3.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://computation.llnl.gov/projects/sundials/download/$pkgname-$pkgver.tar.gz")
+sha256sums=('88dff7e11a366853d8afd5de05bf197a8129a804d9d4461fb64297f1ef89bca7')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS="${CFLAGS} -fPIC -fcommon" \
+ -DMPI_ENABLE=ON \
+ -DPTHREAD_ENABLE=ON \
+ -DOPENMP_ENABLE=ON \
+ -DF77_INTERFACE_ENABLE=ON \
+ -DKLU_ENABLE=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