diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-07-05 15:13:55 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-07-05 15:13:55 +0200 |
commit | b2ee4a95b71de3713494af00255ea803f286d888 (patch) | |
tree | 9d76f0e0cc208450d62fdfd6c603c65b3a1feab8 | |
parent | b2b095fcddbef5a555655f2a689d27d40cbf4d42 (diff) | |
download | packages-b2ee4a95b71de3713494af00255ea803f286d888.tar.xz |
community/virtualbox-modules-arch: fixed for pentium4 CARCH
-rw-r--r-- | community/virtualbox-modules-arch/PKGBUILD | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/virtualbox-modules-arch/PKGBUILD b/community/virtualbox-modules-arch/PKGBUILD new file mode 100644 index 00000000..38ef65a3 --- /dev/null +++ b/community/virtualbox-modules-arch/PKGBUILD @@ -0,0 +1,15 @@ +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f package_virtualbox-host-modules-arch | \ + sed ' + s/$CARCH/i686/g + ' + )" + + eval "$( + declare -f package_virtualbox-guest-modules-arch | \ + sed ' + s/$CARCH/i686/g + ' + )" +fi |