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
version '0.9.9.1'
sha256 'f51f8cf4120a6714c710e1a9d06dd2f7ad19f198910f9092c7822413e6a953ff'
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: 'f0abfa845ad922e4e5b645f65a52a90a75fb81fc1c27916fb24ba79b37aa1ea0'
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.app/Contents/MacOS/BlockBlock",
args: ['-install'],
sudo: true,
}
2015-09-20 05:32:26 +08:00
uninstall script: {
executable: "#{staged_path}/BlockBlock.app/Contents/MacOS/BlockBlock",
args: ['-uninstall'],
sudo: true,
}
2017-04-23 18:27:54 +08:00
2017-11-18 17:38:07 +08:00
zap trash: '~/Library/Preferences/com.objectiveSee.BlockBlock.plist'
2015-09-20 05:32:26 +08:00
end