homebrew-cask/Casks/multipass.rb

25 lines
905 B
Ruby

cask 'multipass' do
version '0.8.0'
sha256 '386a015745eabfdd548fa44326ccfcfafbc93747e36af99cfc2936a4432aa613'
url "https://github.com/CanonicalLtd/multipass/releases/download/v#{version}/multipass-#{version}+mac-Darwin.pkg"
appcast 'https://github.com/CanonicalLtd/multipass/releases.atom'
name 'Multipass'
homepage 'https://github.com/CanonicalLtd/multipass/'
pkg "multipass-#{version} mac-Darwin.pkg"
uninstall launchctl: 'com.canonical.multipassd',
pkgutil: 'com.canonical.multipass.*',
delete: [
'/usr/local/bin/multipass',
'/usr/local/etc/bash_completion.d/multipass',
'/var/root/Library/Caches/multipassd',
]
zap trash: [
'/var/root/Library/Application Support/multipassd',
'/Library/Logs/Multipass',
]
end