Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/chezmoi
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-11-05 08:12:34 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-11-05 08:12:34 +0100
commit0e71da6e411f24a15cb6c6bf55b605556ff19861 (patch)
treea4712b854f253fa2f984cffa8e3c66f7f685de8e /community/chezmoi
parent9a6962c7a08569afe55b0216d24aee07380e68a2 (diff)
extra/chezmoi: tried to fix (gcc-go), rebuilding for pentium4 only
Diffstat (limited to 'community/chezmoi')
-rw-r--r--community/chezmoi/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/chezmoi/PKGBUILD b/community/chezmoi/PKGBUILD
new file mode 100644
index 00000000..6dac406f
--- /dev/null
+++ b/community/chezmoi/PKGBUILD
@@ -0,0 +1,8 @@
+# Use gccgo and not go/gc on i686 and i486
+if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//go/})
+ makedepends+=(gcc-go)
+fi
+
+# failing test: FAIL github.com/twpayne/chezmoi/v2/pkg/git [build failed]
+unset check