Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/wireguard-arch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wireguard-arch/PKGBUILD')
-rw-r--r--extra/wireguard-arch/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/wireguard-arch/PKGBUILD b/extra/wireguard-arch/PKGBUILD
new file mode 100644
index 00000000..918789a7
--- /dev/null
+++ b/extra/wireguard-arch/PKGBUILD
@@ -0,0 +1,8 @@
+if [ "$CARCH" = 'pentium4' ]; then
+ eval "$(
+ declare -f package | \
+ sed '
+ s@\$CARCH@i686@g
+ '
+ )"
+fi