diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-13 09:22:03 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-13 09:22:03 +0200 |
commit | a1ded77223c65b2d6a732b02511ebd29b7ecb524 (patch) | |
tree | 25cf385298972ea2febdf3bf617849f33c788a87 | |
parent | 9b77ba821b9814f5930c98926ba96395c238daec (diff) | |
download | packages-a1ded77223c65b2d6a732b02511ebd29b7ecb524.tar.xz |
community/wireguard-lts: fixed kernel module location for pentium4
-rw-r--r-- | community/wireguard-lts/PKGBUILD | 9 |
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 |