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_BETA3,118015'
sha256 '6801a5ec29eb82b680acbc45e000b6a96f2f38ccd24e6cde53f4a9030dbe578b'
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: '1f753c9849a06ca6ad4b2df06d022a2dc42bee734c87d98759f911be52eb537b'
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