Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/wireguard-arch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-26 12:40:51 +0200
committerErich Eckner <git@eckner.net>2019-06-26 12:40:51 +0200
commit7ef6cd6f2af36fa536a31c8653ea6e22700ceb99 (patch)
treeafabf9420fb3af8f993674dff5cd22f534eb2a30 /community/wireguard-arch
parent0a44efb43e964098c560436539230750b17abe58 (diff)
community/wireguard-arch: pentium4 is i686 for dkms
Diffstat (limited to 'community/wireguard-arch')
-rw-r--r--community/wireguard-arch/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/wireguard-arch/PKGBUILD b/community/wireguard-arch/PKGBUILD
new file mode 100644
index 00000000..918789a7
--- /dev/null
+++ b/community/wireguard-arch/PKGBUILD
@@ -0,0 +1,8 @@
+if [ "$CARCH" = 'pentium4' ]; then
+ eval "$(
+ declare -f package | \
+ sed '
+ s@\$CARCH@i686@g
+ '
+ )"
+fi