summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingbei Li2018-11-26 17:30:58 +0800
committerJingbei Li2018-11-26 17:30:58 +0800
commit811f586720adcb69d3f2f2408938cf5db2212680 (patch)
treef4765497a36c7bd42444c8893a6cc1606a6a2a4c
parent38cce6c54daa27567a1351f7cf15063044e6c899 (diff)
downloadaur-811f586720adcb69d3f2f2408938cf5db2212680.tar.gz
reverse last patch (my bad)
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4621b804183..fbe2f426dc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,14 @@
pkgname=openfoam
pkgver=6
-pkgrel=2
+pkgrel=3
pkgdesc="The open source CFD toolbox"
_distpkgname=OpenFOAM
_gitname=$_distpkgname-$pkgver
arch=('x86_64')
url="http://www.openfoam.org"
license=("GPL")
-depends=('bzip2' 'openmpi' 'paraview' 'parmetis' 'scotch' 'boost' 'flex' 'cgal')
+depends=('bzip2' 'paraview' 'parmetis' 'scotch' 'boost' 'flex' 'cgal')
makedepends=('bash')
source=("https://github.com/OpenFOAM/$_gitname/archive/version-$pkgver.tar.gz" "${pkgname}.install")
install="${pkgname}.install"
@@ -31,8 +31,6 @@ prepare() {
echo "export WM_MPLIB=SYSTEMOPENMPI" >> ${srcdir}/prefs.sh
echo "export ParaView_VERSION=${_pversion}" >> ${srcdir}/prefs.sh
echo "export ParaView_MAJOR=${_pmajor}" >> ${srcdir}/prefs.sh
- # https://www.cfd-online.com/Forums/openfoam-installation/148321-gcc-error-unrecognized-command-line-option-showme-link.html
- echo "export export WM_MPLIB=OPENMPI" >> ${srcdir}/prefs.sh
cp ${srcdir}/prefs.sh ${srcdir}/${_distpkgname}-${pkgver}/etc #|| return 1
# Generate the scotch.sh file for arch