homebrew-cask/Casks/coteditor.rb

29 lines
1.3 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'coteditor' do
2015-07-24 03:47:18 +08:00
if MacOS.release <= :snow_leopard
version '1.3.1'
sha256 '5c871bd9de30fc3c76fc66acb4ea258d4d3762ae341181d65a7ef1f8de4751c5'
2016-02-12 07:07:40 +08:00
# github.com/coteditor/CotEditor was verified as official when first introduced to the cask
2015-07-24 03:47:18 +08:00
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}_For10.4.dmg"
elsif MacOS.release <= :lion
version '1.5.4'
sha256 '444133083698c7c94c2b029644f39a0e36982ae34c24745789fa890626188347'
2016-02-12 07:07:40 +08:00
# github.com/coteditor/CotEditor was verified as official when first introduced to the cask
2015-07-24 03:47:18 +08:00
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}.dmg"
else
2016-05-14 11:26:25 +08:00
version '2.5.4'
sha256 '6a697c7e257fa2ee04931f35c02694ba083f4b1c43ab0f503ac683223f86c2c9'
2016-02-12 07:07:40 +08:00
# github.com/coteditor/CotEditor was verified as official when first introduced to the cask
2015-07-24 03:47:18 +08:00
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}.dmg"
2015-05-19 17:41:51 +08:00
end
2014-06-30 17:54:14 +08:00
2015-12-26 04:57:40 +08:00
appcast 'https://github.com/coteditor/CotEditor/releases.atom',
2016-05-14 11:26:25 +08:00
checkpoint: '61f092cf9ed56d50e929781f21fd3c88a5eaf5f3c474c0c4716c55fbe11a48a7'
name 'CotEditor'
homepage 'https://coteditor.com/'
license :apache
2014-09-16 00:05:26 +08:00
app 'CotEditor.app'
2016-05-14 11:26:25 +08:00
zap delete: '~/Library/Containers/com.coteditor.CotEditor'
2014-01-10 13:59:48 +08:00
end