Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/borg/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-24 08:13:25 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-24 08:13:25 +0200
commit82f1ce30bbd95f7b8eeb486d5fb355faa68db5a1 (patch)
tree32008e3ac5a7a7e4f28e67c1c39ef207eeebc041 /community/borg/PKGBUILD
parente80b0b96645b334540794b1f5482ac88d5a4fd44 (diff)
community/borg: tests rely on i686, not on $CARCH
Diffstat (limited to 'community/borg/PKGBUILD')
-rw-r--r--community/borg/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/borg/PKGBUILD b/community/borg/PKGBUILD
new file mode 100644
index 00000000..9f447936
--- /dev/null
+++ b/community/borg/PKGBUILD
@@ -0,0 +1,9 @@
+# CARCH -> pentium4 bug
+if [ "${CARCH}" = "pentium4" ]; then
+ eval "$(
+ declare -f check | \
+ sed '
+ /cd/s/$CARCH/i686/
+ '
+ )"
+fi