diff options
author | chrisjbillington | 2020-07-27 10:04:26 +1000 |
---|---|---|
committer | chrisjbillington | 2020-07-27 10:04:26 +1000 |
commit | 7cd52c7122f71525afc632969dc9510922ed1df1 (patch) | |
tree | ac53466a803c68e43852eebab9e21d0f6f5dddfc | |
parent | 75dcc61f3707b534e4ef2ebd56aa76bb5c0ef7b3 (diff) | |
download | aur-7cd52c7122f71525afc632969dc9510922ed1df1.tar.gz |
prefix replacement
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-scipy-mkl-bin pkgdesc = SciPy is open-source software for mathematics, science, and engineering - with Intel MKL - prebuilt binaries from Anaconda pkgver = 1.5.0.0.py38h0b6359f.0 - pkgrel = 1 + pkgrel = 2 url = http://www.scipy.org/ arch = x86_64 license = custom @@ -6,7 +6,7 @@ _build=py38h0b6359f_0 _build_number=0 _libgfortran=libgfortran-ng-7.3.0-hdf63c60_0 pkgver="${_pkgver}.${_build_number}.${_build//_/.}" -pkgrel=1 +pkgrel=2 pkgdesc="SciPy is open-source software for mathematics, science, and engineering - with Intel MKL - prebuilt binaries from Anaconda" arch=('x86_64') url="http://www.scipy.org/" @@ -49,4 +49,7 @@ package() { install -D -m 644 "${srcdir}/${GFORTRAN_LICENSE}" "${pkgdir}/usr/${GFORTRAN_LICENSE}" fi install -D -m 644 "${srcdir}/info/licenses/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # Prefix replacement: + find "${pkgdir}" -type f -exec sed -i -e s:/opt/anaconda1anaconda2anaconda3:/usr:g {} + } |