summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Mocciola2016-05-13 22:50:44 +0200
committerMichele Mocciola2016-05-13 22:50:44 +0200
commitda0b17c44901bbfe8b91ef0611911066788573f3 (patch)
treeda1a5cf098ebf40b485846eca185cf051c95ee46
parentda6be91c0d389ab890ada400d6b353d0c3193d53 (diff)
downloadaur-da0b17c44901bbfe8b91ef0611911066788573f3.tar.gz
Updated to hdf5-1.8
-rw-r--r--.SRCINFO3
-rwxr-xr-xPKGBUILD4
-rwxr-xr-xaster.install4
3 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33f6008d70d..ff52e6c2969 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Mar 17 17:44:37 UTC 2016
+# Fri May 13 20:50:15 UTC 2016
pkgbase = aster
pkgdesc = Code-Aster
pkgver = 12.5.0
@@ -13,6 +13,7 @@ pkgbase = aster
depends = astk>=1.13.7
depends = metis4
depends = med>=3.0.8
+ depends = hdf5-1.8
depends = mumps4
options = !strip
source = http://www.code-aster.org/FICHIERS/aster-full-src-12.5.0-1.noarch.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 3385edb97f0..c156df18fbd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgrel=1
pkgdesc="Code-Aster"
url="http://www.code-aster.org/"
license=("GPL")
-depends=('python2' 'astk>=1.13.7' 'metis4' 'med>=3.0.8' 'mumps4')
+depends=('python2' 'astk>=1.13.7' 'metis4' 'med>=3.0.8' 'hdf5-1.8' 'mumps4')
makedepends=()
install="${pkgname}.install"
arch=('i686' 'x86_64')
@@ -26,7 +26,7 @@ build() {
cd "${srcdir}"
cd "${srcdir}/aster-${pkgver}"
- INCLUDES="/usr/include/metis-4 /usr/include" PYTHON="/usr/bin/python2" LRELEASE="lrelease-qt4" python2 waf configure --prefix="${pkgdir}${_installdir}" --enable-mumps --metis-libs=metis-4 --scotch-libs='esmumps scotch bz2 scotcherr' --install-as=${_installsuff}
+ LIBPATH="/opt/hdf5-1.8/lib /usr/lib" INCLUDES="/opt/hdf5-1.8/include /usr/include/metis-4 /usr/include" PYTHON="/usr/bin/python2" LRELEASE="lrelease-qt4" python2 waf configure --prefix="${pkgdir}${_installdir}" --enable-mumps --metis-libs=metis-4 --scotch-libs='esmumps scotch bz2 scotcherr' --install-as=${_installsuff} --enable-hdf5
python2 waf build
# python2 waf build_debug
}
diff --git a/aster.install b/aster.install
index 0c7027dae1c..30cff9c9cc0 100755
--- a/aster.install
+++ b/aster.install
@@ -1,6 +1,6 @@
post_install() {
- sed -e "s|#?vers : VVV?|#?vers : VVV?\nvers : 12.5:/usr/share/aster/12.5|" \
+ sed -e "s|#?vers : VVV?|#?vers : VVV?\nvers : STA12.5:/usr/share/aster/12.5|" \
-i /etc/codeaster/aster
echo
@@ -23,7 +23,7 @@ post_upgrade() {
}
post_remove() {
- sed -e ':a;N;$!ba;s|\nvers : 12.5:/usr/share/aster/12.5||g' \
+ sed -e ':a;N;$!ba;s|\nvers : STA12.5:/usr/share/aster/12.5||g' \
-i /etc/codeaster/aster
}