homebrew-cask/Casks/munki.rb

16 lines
620 B
Ruby

cask 'munki' do
version '2.8.2.2855'
sha256 '1a2221a5032921f7380f4d3517889ab52cc3a9f47a7cdeac16fbdb4a0e2279dd'
# github.com/munki/munki was verified as official when first introduced to the cask
url "https://github.com/munki/munki/releases/download/v#{version.sub(%r{^(\d+\.\d+.\d+).*}, '\1')}/munkitools-#{version}.pkg"
appcast 'https://github.com/munki/munki/releases.atom',
checkpoint: 'cf196f70ef4516c37bdea1d279deb6e3206934118fdc8ebca81685612120b7d0'
name 'Munki'
homepage 'https://www.munki.org/munki/'
pkg "munkitools-#{version}.pkg"
uninstall pkgutil: 'com.googlecode.munki.*'
end