Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-03-18 05:19:23 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-03-18 05:19:23 +0100
commit1b947fad653827daafac7c7ce166cd4a99537ddf (patch)
treee3dcc7c1cd82992bda6d289bf5354f29452f3fa7 /extra
parent55f85c27b7abf93c931eb2348851fda2ce2169ba (diff)
community/wireguard-arch: to extra
community/wireguard-lts: to extra
Diffstat (limited to 'extra')
-rw-r--r--extra/wireguard-arch/PKGBUILD8
-rw-r--r--extra/wireguard-lts/PKGBUILD9
2 files changed, 17 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
diff --git a/extra/wireguard-lts/PKGBUILD b/extra/wireguard-lts/PKGBUILD
new file mode 100644
index 00000000..2f483a73
--- /dev/null
+++ b/extra/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