summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Heitzmann Gabrielli2018-02-23 22:07:13 -0300
committerLucas Heitzmann Gabrielli2018-02-23 22:07:13 -0300
commit446622df34358390bf4c4010fdc409a3e169e91d (patch)
tree49201338d41155b843bdbb0ee19756e2288b7f68
parent02a9dd23033db98aa2eb07e6db841caf15c8a704 (diff)
downloadaur-446622df34358390bf4c4010fdc409a3e169e91d.tar.gz
Revive
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
-rw-r--r--test_optdepends.sh2
3 files changed, 6 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8192d4ee6dcd..a04b40ee5489 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by mksrcinfo v8
-# Fri Dec 15 14:41:56 UTC 2017
pkgbase = petsc
pkgdesc = Portable, extensible toolkit for scientific computation
pkgver = 3.8.3
@@ -28,10 +26,8 @@ pkgbase = petsc
options = staticlibs
source = http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.8.3.tar.gz
source = test_optdepends.sh
- md5sums = 322cbcf2a0f7b7bad562643b05d66f11
- md5sums = e60925d1f552303198106bf98eb2bfa5
sha256sums = 01f9c3ed937eafac6c9e006510b61c7cd07197115ec40c429fc835f346ca3eac
- sha256sums = adff0a432735f6cf4ec2edcb7345ba0d90963bef962b8d9742fa5e9735c0e455
+ sha256sums = c7b0d839c43bbae0405b8b007588debcd0da526e9a999c5933278d347a0900e2
pkgname = petsc
diff --git a/PKGBUILD b/PKGBUILD
index 016737ac6c69..f2a6cc497b7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,11 +25,10 @@ optdepends=('trilinos: support for trilinos'
'fftw: support for the fftw fast Fourier transform'
)
install=petsc.install
-source=(http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${pkgname}-${pkgver/_/-}.tar.gz test_optdepends.sh)
-md5sums=('322cbcf2a0f7b7bad562643b05d66f11'
- 'e60925d1f552303198106bf98eb2bfa5')
+source=(http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${pkgname}-${pkgver/_/-}.tar.gz
+ test_optdepends.sh)
sha256sums=('01f9c3ed937eafac6c9e006510b61c7cd07197115ec40c429fc835f346ca3eac'
- 'adff0a432735f6cf4ec2edcb7345ba0d90963bef962b8d9742fa5e9735c0e455')
+ 'c7b0d839c43bbae0405b8b007588debcd0da526e9a999c5933278d347a0900e2')
_install_dir=/opt/petsc/${_config}
@@ -99,7 +98,7 @@ package() {
sed -i 's#'"${_build_dir}"'#'"${_install_dir}"'#g' "${_dest_dir}/lib/petsc/conf/petscrules"
export PETSC_DIR=${_install_dir}
-
+
# Note: the hyperlinks between documentation, tutorials and examples are
# not perfect yet
diff --git a/test_optdepends.sh b/test_optdepends.sh
index 227366999344..c82eec8c5b14 100644
--- a/test_optdepends.sh
+++ b/test_optdepends.sh
@@ -38,7 +38,7 @@ fi
if [ -f "/usr/include/SuiteSparse_config.h" ]; then
CONFOPTS="${CONFOPTS} --with-suitesparse=1"
fi
-
+
# Add metis support
if [ -f "/usr/include/metis.h" ]; then
CONFOPTS="${CONFOPTS} --with-metis=1"