cask :v1 => 'virtualbox500101573' do version '5.0.0-101573' # virtualbox.rb and virtualbox-extension-pack.rb should be upgraded together sha256 '4e27a30af6e4b0f6b1ea69485237d52fc57e6b5608cc234c9480ac0538b31402' url "http://download.virtualbox.org/virtualbox/#{version.sub(%r{-.*},'')}/VirtualBox-#{version}-OSX.dmg" name 'VirtualBox' homepage 'https://www.virtualbox.org' license :gpl tags :vendor => 'Oracle' pkg 'VirtualBox.pkg' binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxManage' binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless' uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] }, :pkgutil => 'org.virtualbox.pkg.*' end