summaryrefslogtreecommitdiff
path: root/community/wireguard-lts/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wireguard-lts/PKGBUILD')
-rw-r--r--community/wireguard-lts/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/wireguard-lts/PKGBUILD b/community/wireguard-lts/PKGBUILD
new file mode 100644
index 00000000..2f483a73
--- /dev/null
+++ b/community/wireguard-lts/PKGBUILD
@@ -0,0 +1,9 @@
+# replace $CARCH == pentium4 to i686
+if [ "${CARCH}" = "pentium4" ]; then
+ eval "$(
+ declare -f package_wireguard-lts | \
+ sed '
+ s/$CARCH/i686/g
+ '
+ )"
+fi