homebrew-cask/Casks/dnscrypt.rb

22 lines
968 B
Ruby

cask :v1 => 'dnscrypt' do
version '1.0.5'
sha256 '9d0cec793f33ba107bd724830398d6b156f5a7b3c8f33a5d3ae529c588041a36'
url "https://github.com/alterstep/dnscrypt-osxclient/releases/download/#{version}/dnscrypt-osxclient-#{version}.dmg"
appcast 'https://github.com/alterstep/dnscrypt-osxclient/releases.atom'
name 'DNSCrypt'
homepage 'https://github.com/alterstep/dnscrypt-osxclient'
license :oss
pkg 'DNSCrypt.mpkg'
uninstall :quit => 'com.github.dnscrypt-osxclient.DNSCrypt-Menubar',
:pkgutil => 'com.github.dnscrypt-osxclient.dnscryptClient.*',
:launchctl => [
'com.github.dnscrypt-osxclient.DNSCryptAfterboot',
'com.github.dnscrypt-osxclient.DNSCryptConsoleChange',
'com.github.dnscrypt-osxclient.DNSCryptControlChange',
'com.github.dnscrypt-osxclient.DNSCryptNetworkChange',
]
end