diff options
author | chrisjbillington | 2020-07-27 10:06:13 +1000 |
---|---|---|
committer | chrisjbillington | 2020-07-27 10:06:13 +1000 |
commit | 7f732ea435b6214e470494ea6be67fb95b10bdbe (patch) | |
tree | 788ed1ff8cf75a15ce4815f1982699acbf752926 | |
parent | 81b8c2e91e3e2d7e9c6d417685a84aa96f9093cf (diff) | |
download | aur-7f732ea435b6214e470494ea6be67fb95b10bdbe.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-numexpr-mkl-bin pkgdesc = Fast numerical array expression evaluator for Python - with Intel MKL - prebuilt binaries from Anaconda pkgver = 2.7.1.0.py38h423224d.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pydata/numexpr arch = x86_64 license = MIT @@ -5,7 +5,7 @@ _pkgver=2.7.1 _build=py38h423224d_0 _build_number=0 pkgver="${_pkgver}.${_build_number}.${_build//_/.}" -pkgrel=1 +pkgrel=2 pkgdesc="Fast numerical array expression evaluator for Python - with Intel MKL - prebuilt binaries from Anaconda" arch=('x86_64') url="https://github.com/pydata/numexpr" @@ -20,4 +20,7 @@ package() { mkdir "${pkgdir}/usr" cp -drp --no-preserve=ownership "${srcdir}/lib" "${pkgdir}/usr/lib" 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 {} + } |