summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Bilke2016-10-28 14:36:48 +0200
committerAndreas Bilke2016-10-28 14:36:48 +0200
commite8887ff7be0b9478a7a1c43056d44cd9a24e1426 (patch)
treeaa54448340e2971c66ddc3e36e8d009a93b71b28 /PKGBUILD
parent8ffe87113488577e88057dc4bbef2c3c53e9d898 (diff)
downloadaur-e8887ff7be0b9478a7a1c43056d44cd9a24e1426.tar.gz
Removed reference to build dir
thanks to heitzmann
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9605017dada..07270ef12d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Myles English <myles at rockhead dot biz>
pkgname=slepc
pkgver=3.7.3
-pkgrel=1
+pkgrel=2
pkgdesc="Scalable library for Eigenvalue problem computations"
arch=('i686' 'x86_64')
url="http://www.grycap.upv.es/slepc"
@@ -58,6 +58,7 @@ package() {
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}"
+ sed -i 's#'"${_build_dir}"'#'"${_install_dir}"'#g' "${pkgdir}${_install_dir}/include/slepcconf.h"
# remove logs containing references to the build dir
rm -f "${pkgdir}${_install_dir}/lib/slepc/conf/configure.log"