cask 'virtualbox-beta' do version '5.0.11-104721' sha256 'c190f66421211b6f0ccbfc67740bf442f5e9ed2c95202846a8873a8f6f8e7af5' url "http://download.virtualbox.org/virtualbox/#{version.split('-')[0]}/VirtualBox-#{version}-OSX.dmg" name 'Oracle VirtualBox' homepage 'https://www.virtualbox.org/wiki/Testbuilds' license :gpl 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