summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2017-12-01 19:05:21 +0100
committerMichel Zou2017-12-01 19:05:21 +0100
commit36ec51904c4030f22452020e45b05caba1a7003d (patch)
treec22014f0552388bfbd6a2495fd1fe269dfbb5e00
parentcd2555c6e602df2ed624d0f4036a1164cb32ccde (diff)
downloadaur-36ec51904c4030f22452020e45b05caba1a7003d.tar.gz
3.1.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b3af1b08e7f6..ed62d5674f27 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Nov 2 18:22:22 UTC 2016
+# Fri Dec 1 18:05:21 UTC 2017
pkgbase = mingw-w64-sundials
pkgdesc = Suite of nonlinear differential/algebraic equation solvers (mingw-w64)
- pkgver = 2.7.0
+ pkgver = 3.1.0
pkgrel = 1
url = https://computation.llnl.gov/casc/sundials/main.html
arch = any
@@ -12,8 +12,8 @@ pkgbase = mingw-w64-sundials
options = !buildflags
options = staticlibs
options = !strip
- source = http://computation.llnl.gov/projects/sundials/download/sundials-2.7.0.tar.gz
- sha256sums = d39fcac7175d701398e4eb209f7e92a5b30a78358d4a0c0fcc23db23c11ba104
+ source = http://computation.llnl.gov/projects/sundials/download/sundials-3.1.0.tar.gz
+ sha256sums = 18d52f8f329626f77b99b8bf91e05b7d16b49fde2483d3a0ea55496ce4cdd43a
pkgname = mingw-w64-sundials
diff --git a/PKGBUILD b/PKGBUILD
index 12b22a9a7db2..863a5e9025f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-sundials
-pkgver=2.7.0
+pkgver=3.1.0
pkgrel=1
pkgdesc="Suite of nonlinear differential/algebraic equation solvers (mingw-w64)"
arch=('any')
@@ -10,7 +10,7 @@ depends=('mingw-w64-lapack')
makedepends=('mingw-w64-cmake')
options=('!buildflags' 'staticlibs' '!strip')
source=("http://computation.llnl.gov/projects/sundials/download/sundials-$pkgver.tar.gz")
-sha256sums=('d39fcac7175d701398e4eb209f7e92a5b30a78358d4a0c0fcc23db23c11ba104')
+sha256sums=('18d52f8f329626f77b99b8bf91e05b7d16b49fde2483d3a0ea55496ce4cdd43a')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -19,7 +19,7 @@ build() {
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-cmake \
- -DEXAMPLES_ENABLE=OFF \
+ -DEXAMPLES_ENABLE_C=OFF \
..
make
popd
@@ -31,6 +31,7 @@ package() {
cd "$srcdir"/sundials-${pkgver}/build-${_arch}
make install DESTDIR="$pkgdir"
install -d "$pkgdir"/usr/${_arch}/bin/
+ rm "$pkgdir"/usr/${_arch}/LICENSE
mv "$pkgdir"/usr/${_arch}/lib/*.dll "$pkgdir"/usr/${_arch}/bin/
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a