From a1ded77223c65b2d6a732b02511ebd29b7ecb524 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 13 Jun 2019 09:22:03 +0200 Subject: community/wireguard-lts: fixed kernel module location for pentium4 --- community/wireguard-lts/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 community/wireguard-lts/PKGBUILD 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 -- cgit v1.2.3-70-g09d2