homebrew-cask/Casks/selfcontrol.rb

23 lines
687 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'selfcontrol' do
2015-06-30 12:30:07 +08:00
if MacOS.release <= :snow_leopard
version '1.5.1'
sha256 'd3823a1e9ba0b47dc2cb39c93cd51837c2dafc7d5a5a564825f4a440fd2ab9ad'
else
2016-01-30 07:47:22 +08:00
version '2.1.1'
sha256 'ac492ce596f7189088db56c1e8a2663504d1036264745a66a7202fe5b4dca6e8'
2015-06-30 12:30:07 +08:00
end
2014-09-26 20:09:10 +08:00
url "http://downloads.selfcontrolapp.com/SelfControl-#{version}.zip"
2015-06-29 14:32:18 +08:00
appcast 'https://selfcontrolapp.com/SelfControlAppcast.xml',
2016-03-10 08:44:10 +08:00
checkpoint: 'ed03ff3ec9c2616091c15546808a244f8780d8ba0d27499d4b3bd4316176fea9'
2015-04-28 01:56:04 +08:00
name 'SelfControl'
2015-06-29 14:32:18 +08:00
homepage 'https://selfcontrolapp.com/'
2014-12-27 05:30:14 +08:00
license :gpl
2016-01-12 23:34:30 +08:00
auto_updates true
2014-09-16 00:06:17 +08:00
app 'SelfControl.app'
2014-11-22 22:24:20 +08:00
zap delete: '~/Library/Preferences/org.eyebeam.SelfControl.plist'
2013-06-28 22:09:47 +08:00
end