summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d2b9a18b42..a73447c3ec3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,22 @@
# Maintainer: Myles English <myles at rockhead dot biz>
pkgname=slepc
-pkgver=3.5.3
-_config=arch-linux2-cxx-opt
-pkgrel=2
+pkgver=3.6.0
+pkgrel=1
pkgdesc="Scalable library for Eigenvalue problem computations"
arch=('i686' 'x86_64')
url="http://www.grycap.upv.es/slepc"
license=('GNUv3')
-depends=('python2' 'gcc' 'gcc-fortran' 'petsc>=3.5.3')
+depends=('python2' 'gcc' 'gcc-fortran' 'petsc>=3.6.0')
install=slepc.install
source=(http://www.grycap.upv.es/slepc/download/distrib/${pkgname}-${pkgver/_/-}.tar.gz)
-md5sums=('417a691e5a756ba2a6dde7f156ff57a5')
-
-# get SLEPC_DIR
-source /etc/profile.d/petsc.sh # gets PETSC_DIR
+md5sums=('560a634369fdab3fcaeea35c2cbab6f1')
export MAKEFLAGS="-j1"
build() {
+ # get SLEPC_DIR
+ source /etc/profile.d/petsc.sh # gets PETSC_DIR
+
_build_dir=${srcdir}/${pkgname}-${pkgver/_/-}
_install_dir=/opt/slepc/`basename ${PETSC_DIR}`
@@ -33,6 +32,9 @@ build() {
package() {
+ # get SLEPC_DIR
+ source /etc/profile.d/petsc.sh # gets PETSC_DIR
+
_build_dir=${srcdir}/${pkgname}-${pkgver/_/-}
_install_dir=/opt/slepc/`basename ${PETSC_DIR}`
@@ -46,12 +48,12 @@ package() {
export SLEPC_DIR=${_install_dir}
unset PETSC_ARCH
- sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepc_rules"
- sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepc_variables"
- sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/slepcvariables"
- sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/conf/uninstall.py"
+ sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/slepcrules"
+ sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/slepc_variables"
+ sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/slepcvariables"
+ sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/uninstall.py"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/pkgconfig/SLEPc.pc"
- sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/modules/3.5.3"
+ sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/modules/${pkgname}/${pkgver}"
mkdir -p ${pkgdir}/etc/profile.d
echo "export SLEPC_DIR=${_install_dir}" > ${pkgdir}/etc/profile.d/slepc.sh