Last active
August 12, 2017 18:22
-
-
Save winksaville/6109c11cbd9d27a16de66fd119306456 to your computer and use it in GitHub Desktop.
aur/aster-hg diff for 7019
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.SRCINFO b/.SRCINFO | |
index c0b8366..04a74f7 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -8,7 +8,7 @@ pkgbase = aster-hg | |
arch = x86_64 | |
license = GPL | |
depends = med | |
- depends = metis4 | |
+ depends = metis | |
depends = python2-numpy | |
depends = qt4 | |
depends = mumps>=4.10.0-5 | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 8cad91b..7395b22 100755 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,14 +1,14 @@ | |
# Maintainer: mickele | |
pkgname=aster-hg | |
-pkgver=3646 | |
+pkgver=7019 | |
pkgrel=1 | |
url="http://www.code-aster.org" | |
license=('GPL') | |
pkgdesc="Code-aster (Mercurial version)" | |
arch=('i686' 'x86_64') | |
install="${pkgname}.install" | |
-depends=('med' 'metis4' 'python2-numpy' 'qt4' 'mumps>=4.10.0-5') | |
+depends=('med' 'metis' 'python2-numpy' 'qt4' 'mumps>=4.10.0-5') | |
source=("aster::hg+https://bitbucket.org/code_aster/codeaster-src") | |
options=(!strip) | |
@@ -22,15 +22,15 @@ pkgver() { | |
build(){ | |
cd "${srcdir}"/aster | |
- 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 --install-as=${_installsuff} --embed-aster | |
- python2 waf build | |
- python2 waf build_debug | |
+ TFELHOME="/home/wink/aur/tfel/src/tfel-2.0.3" LIBPATH="/opt/petsc/linux-c-opt/lib /usr/lib/openmpi /usr/lib" LIB="mumps_common esmumps scotch scotcherr scotcherrexit scotchmetis mpi mpi_mpifh metis pord gfortran scalapack" INCLUDES="/opt/petsc/linux-c-opt/include /usr/include" PYTHON="/usr/bin/python2" LRELEASE="lrelease-qt4" ./waf configure --prefix="${pkgdir}${_installdir}" --enable-mumps --metis-libs=metis --install-as=${_installsuff} --embed-aster | |
+ ./waf build | |
+ ./waf build_debug | |
} | |
package(){ | |
cd "${srcdir}"/aster | |
- python2 waf install --install-tests | |
- python2 waf install_debug | |
+ ./waf install --install-tests | |
+ ./waf install_debug | |
for _FILE in share/aster/${_installsuff}/profile.sh share/aster/${_installsuff}/config.txt include/aster/${_installsuff}/asterf_config.h include/aster/${_installsuff}/asterc_config.h lib/aster/${_installsuff}/aster_pkginfo.py | |
do | |
sed -e "s|${pkgdir}||g" -i "${pkgdir}${_installdir}/${_FILE}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment