diff options
author | Erich Eckner <git@eckner.net> | 2019-02-06 11:06:36 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-06 11:06:36 +0100 |
commit | dfadc64415a044ffe2df2c80360a257b555bd74d (patch) | |
tree | ee58fa1adc172204aab5eabc7b719b336b26afe5 | |
parent | f105ed7468f135c9b2f55152cb0cb0b94a014e6d (diff) | |
download | archlinuxewe.git.save-dfadc64415a044ffe2df2c80360a257b555bd74d.tar.xz |
xraylarch: do not copy compiled programs for i686 - they do not exist
-rwxr-xr-x | xraylarch/PKGBUILD | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xraylarch/PKGBUILD b/xraylarch/PKGBUILD index 5cb002af..b423fd0c 100755 --- a/xraylarch/PKGBUILD +++ b/xraylarch/PKGBUILD @@ -67,6 +67,18 @@ prepare() { /subprocess\.check_call/ { N; d; } ' "${pkgname}-${pkgver}/setup.py" + if [ "${CARCH}" = 'i686' ]; then + sed -i ' + /^\s*compiled_exes\s*=\s*(/,/)/ { + s/(.*/(/ + t + s/.*)/)/ + t + d + } + ' "${pkgname}-${pkgver}/setup.py" + fi + } build() { |