summaryrefslogtreecommitdiffstats
path: root/acompiler/virtualbox-bin/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'acompiler/virtualbox-bin/Pkgfile')
-rwxr-xr-xacompiler/virtualbox-bin/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/acompiler/virtualbox-bin/Pkgfile b/acompiler/virtualbox-bin/Pkgfile
index b44c50d4e..de09a3d42 100755
--- a/acompiler/virtualbox-bin/Pkgfile
+++ b/acompiler/virtualbox-bin/Pkgfile
@@ -5,15 +5,17 @@
# Depends on: virtualbox-module, sdl
name=virtualbox-bin
-version=3.2.10
-release=2
-_release=66896
-source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_x86.run)
+version=4.0.0
+release=1
+_release=69151
+[ "`uname -m`" == "i686" ] && _ARCH=x86
+[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
+source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run)
build() {
- sh VirtualBox-${version}-${_release}-Linux_x86.run --keep --noexec --target $SRC/
+ sh VirtualBox-${version}-${_release}-Linux_${_ARCH}.run --keep --noexec --target $SRC/
mkdir -p $PKG/opt/VirtualBox $PKG/etc/vbox $PKG/usr/bin $PKG/etc/udev/rules.d/ \
$PKG/usr/share/applications/ $PKG/usr/share/pixmaps/
cd $PKG/opt/VirtualBox