You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

41 lines
1.6 KiB

cask 'virtualbox-extension-pack-beta' do
version '5.2.0_BETA1,117406'
sha256 'f06841783e44b07469f6338099dd2ee53bddd47e848df8f286d3d639b2e21687'
url "http://download.virtualbox.org/virtualbox/#{version.before_comma}/Oracle_VM_VirtualBox_Extension_Pack-#{version.before_comma}-#{version.after_comma}.vbox-extpack"
appcast 'http://download.virtualbox.org/virtualbox/LATEST-BETA.TXT',
checkpoint: '2af71b046d16a13f3bb3e0e34e668b2acdc6cab8a4041113076d6c705a492546'
name 'Oracle VirtualBox Extension Pack'
homepage 'https://www.virtualbox.org/'
depends_on cask: 'virtualbox-beta'
container type: :naked
stage_only true
postflight do
system_command '/usr/local/bin/VBoxManage',
args: [
'extpack', 'install',
'--replace', "#{staged_path}/Oracle_VM_VirtualBox_Extension_Pack-#{version.before_comma}-#{version.after_comma}.vbox-extpack",
'--accept-license=715c7246dc0f779ceab39446812362b2f9bf64a55ed5d3a905f053cfab36da9e'
],
sudo: true
end
uninstall_postflight do
system_command '/usr/local/bin/VBoxManage',
args: [
'extpack', 'uninstall',
'Oracle VM VirtualBox Extension Pack'
],
sudo: true
end
caveats <<-EOS.undent
Installing this Cask means you have AGREED to the
VirtualBox Personal Use and Evaluation License at
https://www.virtualbox.org/wiki/VirtualBox_PUEL
EOS
end