summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormyles2015-09-29 13:04:26 +0100
committermyles2015-09-29 13:04:26 +0100
commitd33ac9102b2e2537ad7cb04f1f597fec68e8e3bb (patch)
tree2316b0ae8d54d3e572b61e4a2270bea2f4f1d3a3
parentf4004d75d87b4d85b2d2dde61caef843c3c26b63 (diff)
downloadaur-d33ac9102b2e2537ad7cb04f1f597fec68e8e3bb.tar.gz
Updated to 3.6.0-2
Corrected paths in some conf files Removed logs containing references (Thanks to ftschindler)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6306142f448..f507a77093d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = slepc
pkgdesc = Scalable library for Eigenvalue problem computations
pkgver = 3.6.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.grycap.upv.es/slepc
install = slepc.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index a73447c3ec3..ad223e79bc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Myles English <myles at rockhead dot biz>
pkgname=slepc
pkgver=3.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Scalable library for Eigenvalue problem computations"
arch=('i686' 'x86_64')
url="http://www.grycap.upv.es/slepc"
@@ -48,13 +48,19 @@ package() {
export SLEPC_DIR=${_install_dir}
unset PETSC_ARCH
+ sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/include/slepcconf.h"
sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/slepcrules"
+ sed -i 's#'"${pkgdir}"'##g' "${pkgdir}${_install_dir}/lib/slepc/conf/slepc_rules"
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/slepc/conf/modules/${pkgname}/${pkgver}"
+ # remove logs containing references to the build dir
+ rm -f "${pkgdir}${_install_dir}/lib/slepc/conf/configure.log"
+ rm -f "${pkgdir}${_install_dir}/lib/slepc/conf/make.log"
+
mkdir -p ${pkgdir}/etc/profile.d
echo "export SLEPC_DIR=${_install_dir}" > ${pkgdir}/etc/profile.d/slepc.sh
chmod +x ${pkgdir}/etc/profile.d/slepc.sh