summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxraylarch/PKGBUILD12
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() {