diff options
author | Michele Mocciola | 2016-05-13 22:50:44 +0200 |
---|---|---|
committer | Michele Mocciola | 2016-05-13 22:50:44 +0200 |
commit | da0b17c44901bbfe8b91ef0611911066788573f3 (patch) | |
tree | da1a5cf098ebf40b485846eca185cf051c95ee46 | |
parent | da6be91c0d389ab890ada400d6b353d0c3193d53 (diff) | |
download | aur-da0b17c44901bbfe8b91ef0611911066788573f3.tar.gz |
Updated to hdf5-1.8
-rw-r--r-- | .SRCINFO | 3 | ||||
-rwxr-xr-x | PKGBUILD | 4 | ||||
-rwxr-xr-x | aster.install | 4 |
3 files changed, 6 insertions, 5 deletions
@@ -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 @@ -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 0c7027dae1c8..30cff9c9cc04 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 } |