[arch-commits] Commit in sundials/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Mar 21 13:25:12 UTC 2020


    Date: Saturday, March 21, 2020 @ 13:25:11
  Author: arojas
Revision: 602588

archrelease: copy trunk to community-x86_64

Added:
  sundials/repos/community-x86_64/PKGBUILD
    (from rev 602586, sundials/trunk/PKGBUILD)
Deleted:
  sundials/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 13:25:06 UTC (rev 602587)
+++ PKGBUILD	2020-03-21 13:25:11 UTC (rev 602588)
@@ -1,39 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Elmar Klausmeier <Elmar.Klausmeier at gmail.com>
-
-pkgname=sundials
-pkgver=5.1.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=('fb22d14fad42203809dc46d046b001149ec4e901b23882bd4a80619157fd9b21')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -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 602586, sundials/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-21 13:25:11 UTC (rev 602588)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Elmar Klausmeier <Elmar.Klausmeier at gmail.com>
+
+pkgname=sundials
+pkgver=5.1.0
+pkgrel=2
+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=('fb22d14fad42203809dc46d046b001149ec4e901b23882bd4a80619157fd9b21')
+
+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
+}



More information about the arch-commits mailing list