From 9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c Mon Sep 17 00:00:00 2001 From: sibel Date: Thu, 23 Dec 2010 17:50:39 +0000 Subject: virtualbox-bin#4.0.0-1, maj port --- acompiler/virtualbox-bin/Pkgfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'acompiler/virtualbox-bin/Pkgfile') 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 -- cgit v1.2.3-70-g09d2