From dfadc64415a044ffe2df2c80360a257b555bd74d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 Feb 2019 11:06:36 +0100 Subject: xraylarch: do not copy compiled programs for i686 - they do not exist --- xraylarch/PKGBUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'xraylarch/PKGBUILD') 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() { -- cgit v1.2.3-70-g09d2