summaryrefslogtreecommitdiff
path: root/pcr/openfoam/openfoam.install
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-05-23 13:25:00 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-05-23 22:13:15 -0400
commit4c932f5681f154e2b9cd329a9b982d76642318fb (patch)
treec96463aee73d9b19075a6bd962956b9cf56588f8 /pcr/openfoam/openfoam.install
parent78ec6d42322a48553456dfb54d0a2d2728c92e7c (diff)
downloadabslibre-4c932f5681f154e2b9cd329a9b982d76642318fb.tar.gz
abslibre-4c932f5681f154e2b9cd329a9b982d76642318fb.tar.bz2
abslibre-4c932f5681f154e2b9cd329a9b982d76642318fb.zip
[openfoam][openfoam3.0-git]: replace VCS package with versioned release v7
Diffstat (limited to 'pcr/openfoam/openfoam.install')
-rw-r--r--pcr/openfoam/openfoam.install31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/openfoam/openfoam.install b/pcr/openfoam/openfoam.install
new file mode 100644
index 000000000..286b28312
--- /dev/null
+++ b/pcr/openfoam/openfoam.install
@@ -0,0 +1,31 @@
+# arg 1: the new package version
+post_install() {
+ echo "NOTE:"
+ echo ""
+ echo "This install of OpenFOAM does NOT include the"
+ echo "ThirdParty libraries from openfoam's website."
+ echo "It simply creates a stub OpenFOAM/ThirdParty"
+ echo "directory to keep the OpenFOAM bashrc happy."
+ echo ""
+ echo "The most common use of ThirdParty is to get Paraview."
+ echo "Modern versions of Paraview include an OpenFOAM"
+ echo "case file viewer. Instead of installing the ThirdParty"
+ echo "build of Paraview, using the AUR paraview package is"
+ echo "advised. https://aur.archlinux.org/packages/paraview"
+ echo ""
+ echo "If you need other components of the ThirdParty bundle"
+ echo "it will have to be installed manually."
+ echo "See http://www.openfoam.com/download/source.php for details."
+ echo ""
+ echo "Don't forget to run the \"ofoam\" alias in order to"
+ echo "source the OpenFOAM environment (PATH + LD_LIBRARY_PATH)."
+ echo "This alias has been introduced in order to avoid"
+ echo "PATH clashes (e.g. other executables such as R from GNU R)"
+ echo ""
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}