summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe Borzi2018-08-24 00:32:53 +0200
committerGiuseppe Borzi2018-08-24 00:32:53 +0200
commitf5fdc29d000f4bf3156d219430e3f23dc4e69f59 (patch)
treecce1ad991c8264eb89e77eda1417b68935b131f3
parent2ed0fdfe8b3bfe261a373c6a8ec939e40730529d (diff)
downloadaur-f5fdc29.tar.gz
Updated to 4.0.0
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD23
2 files changed, 19 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 210d7fb0510..cec44e230c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = gmsh
pkgdesc = An automatic 3D finite element mesh generator with pre and post-processing facilities.
- pkgver = 3.0.6
- pkgrel = 2
+ pkgver = 4.0.0
+ pkgrel = 1
url = http://gmsh.info/
- arch = i686
arch = x86_64
license = custom
makedepends = cmake
@@ -19,10 +18,10 @@ pkgbase = gmsh
optdepends = python2: for onelab.py
optdepends = python: for onelab.py
options = !emptydirs
- source = http://gmsh.info/src/gmsh-3.0.6-source.tgz
+ source = http://gmsh.info/src/gmsh-4.0.0-source.tgz
source = gmsh.desktop
source = gmsh.completion
- sha256sums = 9700bcc440d7a6b16a49cbfcdcdc31db33efe60e1f5113774316b6fa4186987b
+ sha256sums = fb0c8afa37425c6f4315ab3b3124e9e102fcf270a35198423a4002796f04155f
sha256sums = 43a8ca33ac917ee7196fdae305ff2c8cb9ae1072569ee546c0ce8ff580c966ae
sha256sums = 11605e97636a56cf51e445e65019526ee253bd2e0553fb71ba6d94488dcd34ef
diff --git a/PKGBUILD b/PKGBUILD
index 7a96408a8c7..1d781cca04d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: gborzi <gborzi@ieee.org>
# Contributor: mickele <mimocciola@yahoo.com>
pkgname=gmsh
-pkgver=3.0.6
-pkgrel=2
+pkgver=4.0.0
+pkgrel=1
pkgdesc="An automatic 3D finite element mesh generator with pre and post-processing facilities."
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://gmsh.info/"
license=('custom')
depends=('fltk' 'lapack' 'med' 'opencascade' 'cairo')
@@ -14,11 +14,11 @@ optdepends=('gmsh-docs: docs for gmsh'
'python: for onelab.py')
options=(!emptydirs)
source=("${url}src/${pkgname}-${pkgver}-source.tgz" gmsh.desktop gmsh.completion)
-sha256sums=('9700bcc440d7a6b16a49cbfcdcdc31db33efe60e1f5113774316b6fa4186987b'
+sha256sums=('fb0c8afa37425c6f4315ab3b3124e9e102fcf270a35198423a4002796f04155f'
'43a8ca33ac917ee7196fdae305ff2c8cb9ae1072569ee546c0ce8ff580c966ae'
'11605e97636a56cf51e445e65019526ee253bd2e0553fb71ba6d94488dcd34ef')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}-source"
# Help links to local doc (package gmsh-docs)
@@ -27,6 +27,11 @@ build() {
sed -e "s|http://gmsh.info/doc/|file:///usr/share/licenses/gmsh/|" \
-i Fltk/helpWindow.cpp
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-source"
+
mkdir -p build
cd build
@@ -41,9 +46,11 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}-source/build"
make DESTDIR=${pkgdir} install
- install -D -m644 "${pkgdir}/usr/bin/onelab.py" "${pkgdir}/usr/lib/python2.7/site-packages/onelab.py"
- install -D -m644 "${pkgdir}/usr/bin/onelab.py" "${pkgdir}/usr/lib/python3.6/site-packages/onelab.py"
- rm "${pkgdir}/usr/bin/onelab.py"
+ mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
+ install -D -m644 "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/lib/python2.7/site-packages/gmsh.py"
+ install -D -m644 "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/lib/python3.7/site-packages/gmsh.py"
+ rm "${pkgdir}/usr/lib/gmsh.py"
+ rm -rf "${pkgdir}/home"
install -d "${pkgdir}/usr/share/pixmaps/${pkgname}"
install -m644 ../utils/icons/*.png "${pkgdir}/usr/share/pixmaps/${pkgname}"