homebrew-cask/Casks/controlplane.rb

24 lines
714 B
Ruby
Raw Normal View History

2014-11-14 01:25:37 +08:00
cask :v1 => 'controlplane' do
2015-07-11 01:15:13 +08:00
if MacOS.release <= :snow_leopard
version '1.2.3'
sha256 '37f93d3a3a17a6e2f24447f0bc74c7e89ec1581ca52e5970960544858c86f909'
else
2015-09-27 23:57:44 +08:00
version '1.6.1'
sha256 '945ae102b81b838df65edf6f83292d33399218113e67bdfdaaa088c0f219ea47'
2015-07-11 01:15:13 +08:00
appcast 'http://www.controlplaneapp.com/appcast.xml',
2015-09-27 23:57:44 +08:00
:sha256 => '432b259fc8397206b28a2a19209551c350b7ca0f376f50013b8b81a832ff70b8'
2015-07-11 01:15:13 +08:00
end
2014-09-26 20:08:50 +08:00
url "http://www.controlplaneapp.com/download/#{version}"
2015-01-12 03:43:45 +08:00
name 'ControlPlane'
2013-05-31 03:23:35 +08:00
homepage 'http://www.controlplaneapp.com/'
license :gpl
2015-07-11 01:15:13 +08:00
depends_on :macos => '>= :snow_leopard'
2014-09-16 00:05:25 +08:00
app 'ControlPlane.app'
2014-11-22 22:24:18 +08:00
2014-09-18 19:57:55 +08:00
zap :delete => '~/Library/Preferences/com.dustinrue.ControlPlane.plist'
2013-05-31 03:23:35 +08:00
end