summaryrefslogtreecommitdiff
path: root/extra/pyalpm
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-11-06 15:51:10 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-11-06 15:51:10 +0100
commit5f39fa1f4ed07f1c37f5dc5f4f497582dcc11635 (patch)
tree9529e213abd39343dacc0d843b30c3ff2c7db564 /extra/pyalpm
parentaa8c4925c6e0cfc6745c68b09a6bfc96a23dc00c (diff)
downloadpackages-5f39fa1f4ed07f1c37f5dc5f4f497582dcc11635.tar.xz
extra/pyalpm: patching CARCH to i686 in tests
Diffstat (limited to 'extra/pyalpm')
-rw-r--r--extra/pyalpm/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/pyalpm/PKGBUILD b/extra/pyalpm/PKGBUILD
new file mode 100644
index 00000000..5cdef3a7
--- /dev/null
+++ b/extra/pyalpm/PKGBUILD
@@ -0,0 +1,7 @@
+# patch CARCH to i686 in tests (for them to work)
+eval "$(
+ declare -f check | \
+ sed '
+ s/$CARCH/i686/g
+ '
+)"