summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisjbillington2020-07-27 10:04:26 +1000
committerchrisjbillington2020-07-27 10:04:26 +1000
commit7cd52c7122f71525afc632969dc9510922ed1df1 (patch)
treeac53466a803c68e43852eebab9e21d0f6f5dddfc
parent75dcc61f3707b534e4ef2ebd56aa76bb5c0ef7b3 (diff)
downloadaur-7cd52c7122f71525afc632969dc9510922ed1df1.tar.gz
prefix replacement
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 324b32689bce..3c4dd459b043 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 87e8b8dcdc70..64ade593e030 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 {} +
}