summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/virtualbox-modules-arch/PKGBUILD15
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