summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f300e058364..6dcf7920440 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openfoam
pkgdesc = The open source CFD toolbox
pkgver = 3.0.x
- pkgrel = 6
+ pkgrel = 7
url = http://www.openfoam.org
install = openfoam.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 02076212ff8..6b8d30a2af5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=openfoam
_distpkgname=OpenFOAM
pkgver=3.0.x
-pkgrel=6
+pkgrel=7
pkgdesc="The open source CFD toolbox"
arch=("any")
url="http://www.openfoam.org"
@@ -23,7 +23,8 @@ md5sums=('SKIP')
prepare() {
# Extract the current version and major of paraview and of scotch for use in the system preferences
- _pversion=`pacman -Q paraview | sed -e 's/.* //; s/-.*//g'`
+ #_pversion=`pacman -Q paraview | sed -e 's/.* //; s/-.*//g'`
+ _pversion=$(pacman -Q $(pacman -Qqo $(which paraview)) | sed -e 's/.* //; s/-.*//g')
_pmajor=`echo $_pversion | cut -d '.' -f1`
_sversion=`pacman -Q scotch | sed -e 's/.* //; s/-.*//g'`