Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/virtualbox-modules-arch/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-07-05 15:13:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-07-05 15:13:55 +0200
commitb2ee4a95b71de3713494af00255ea803f286d888 (patch)
tree9d76f0e0cc208450d62fdfd6c603c65b3a1feab8 /community/virtualbox-modules-arch/PKGBUILD
parentb2b095fcddbef5a555655f2a689d27d40cbf4d42 (diff)
community/virtualbox-modules-arch: fixed for pentium4 CARCH
Diffstat (limited to 'community/virtualbox-modules-arch/PKGBUILD')
-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