summaryrefslogtreecommitdiff
path: root/community
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
parent0a44efb43e964098c560436539230750b17abe58 (diff)
downloadpackages-7ef6cd6f2af36fa536a31c8653ea6e22700ceb99.tar.xz
community/wireguard-arch: pentium4 is i686 for dkms
Diffstat (limited to 'community')
-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