diff options
Diffstat (limited to 'extra/virtualbox-bin/Pkgfile')
-rwxr-xr-x | extra/virtualbox-bin/Pkgfile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/extra/virtualbox-bin/Pkgfile b/extra/virtualbox-bin/Pkgfile index 01d582dab..e84b51181 100755 --- a/extra/virtualbox-bin/Pkgfile +++ b/extra/virtualbox-bin/Pkgfile @@ -6,13 +6,16 @@ name=virtualbox-bin version=4.0.6 -release=1 +release=2 _release=71344 +_name=Oracle_VM_VirtualBox_Extension_Pack + [ "`uname -m`" == "i686" ] && _ARCH=x86 [ "`uname -m`" == "x86_64" ] && _ARCH=amd64 -source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run) +source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run + http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_release}.vbox-extpack) build() { sh VirtualBox-${version}-${_release}-Linux_${_ARCH}.run --keep --noexec --target $SRC/ @@ -37,6 +40,9 @@ build() { echo "# VirtualBox installation directory" > \ $PKG/etc/vbox/vbox.cfg echo "INSTALL_DIR="\"/opt/VirtualBox\" >> \ - $PKG/etc/vbox/vbox.cfg + $PKG/etc/vbox/vbox.cfgi + + install -D -m 644 $SRC/${_name}-$version-${_release}.vbox-extpack \ + $PKG/usr/share/virtualbox/extensions/vbox-extpack } - + |