homebrew-cask/Casks/blockblock.rb

28 lines
1.1 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'blockblock' do
2017-02-02 04:28:00 +08:00
version '0.9.7'
sha256 '12be9b1f7a320222105f76404a2a7caf70555213c3d4f344a7a4a07f954083c5'
2015-09-20 05:32:26 +08:00
2016-02-12 01:46:40 +08:00
# bitbucket.org/objective-see was verified as official when first introduced to the cask
2015-09-20 05:32:26 +08:00
url "https://bitbucket.org/objective-see/deploy/downloads/BlockBlock_#{version}.zip"
2017-04-23 18:27:54 +08:00
appcast 'https://objective-see.com/products/changelogs/BlockBlock.txt',
checkpoint: 'e61c1c20e0447c983b548ae6939666608fb5c0ecade0ce2179186e580054f731'
2015-09-20 05:32:26 +08:00
name 'BlockBlock'
homepage 'https://objective-see.com/products/blockblock.html'
2017-04-23 18:27:54 +08:00
depends_on macos: '>= :mavericks'
installer script: {
executable: "#{staged_path}/BlockBlock_Installer.app/Contents/MacOS/BlockBlock",
args: ['-install'],
sudo: true,
}
2015-09-20 05:32:26 +08:00
uninstall script: {
executable: "#{staged_path}/BlockBlock_Installer.app/Contents/MacOS/BlockBlock",
args: ['-uninstall'],
sudo: true,
}
2017-04-23 18:27:54 +08:00
zap delete: '~/Library/Preferences/com.objectiveSee.BlockBlock.plist'
2015-09-20 05:32:26 +08:00
end