homebrew-cask/Casks/coconutbattery.rb

25 lines
957 B
Ruby
Raw Normal View History

2014-11-14 01:25:36 +08:00
cask :v1 => 'coconutbattery' do
2014-12-11 00:55:19 +08:00
if MacOS.release <= :tiger
version '2.6.6'
sha256 '8d235b237e42754ceda26af2babc160fd23f890d0fe6d7780b86a8e9c6effe42'
url "http://www.coconut-flavour.com/downloads/coconutBattery_#{version}.zip"
2014-12-11 00:55:19 +08:00
elsif MacOS.release <= :snow_leopard
2014-03-25 08:29:15 +08:00
version '2.8'
sha256 'fcfc81214ff26afff9f5c6c7cdc455b23ac898b6918f864b641a9e31526692d4'
url "http://www.coconut-flavour.com/downloads/coconutBattery_#{version}.zip"
2014-06-07 23:43:40 +08:00
else
2015-03-04 23:17:06 +08:00
version '3.2'
sha256 'aaef17e76819cae5042d3363d51753a0511779bfa7f58302958f85e0efc5adca'
url "http://www.coconut-flavour.com/downloads/coconutBattery_#{version.gsub('.','_')}.zip"
2014-10-15 23:43:48 +08:00
appcast 'http://updates.coconut-flavour.com/coconutBatteryIntel.xml',
2015-03-04 23:17:06 +08:00
:sha256 => 'a95480443b9b1161ce66fea8649507ba5449f82e8eb83d89db090df7c03fbb1f'
2014-03-25 08:29:15 +08:00
end
2015-01-06 10:30:41 +08:00
name 'coconutBattery'
2013-01-08 05:02:52 +08:00
homepage 'http://www.coconut-flavour.com/coconutbattery/'
license :bsd
2014-09-16 00:05:24 +08:00
app 'coconutBattery.app'
2013-01-08 05:02:52 +08:00
end