From 1b947fad653827daafac7c7ce166cd4a99537ddf Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 18 Mar 2020 05:19:23 +0100 Subject: community/wireguard-arch: to extra community/wireguard-lts: to extra --- extra/wireguard-arch/PKGBUILD | 8 ++++++++ extra/wireguard-lts/PKGBUILD | 9 +++++++++ 2 files changed, 17 insertions(+) create mode 100644 extra/wireguard-arch/PKGBUILD create mode 100644 extra/wireguard-lts/PKGBUILD (limited to 'extra') 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 -- cgit v1.2.3-70-g09d2