homebrew-cask/Casks/coteditor.rb

27 lines
1.1 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'
# github.com is the official download host per the vendor homepage
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}_For10.4.dmg"
elsif MacOS.release <= :lion
version '1.5.4'
sha256 '444133083698c7c94c2b029644f39a0e36982ae34c24745789fa890626188347'
# github.com is the official download host per the vendor homepage
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}.dmg"
else
2016-01-13 23:29:22 +08:00
version '2.3.4'
sha256 '837cadeb4ac7d444e3eedc0894a5b2f174b9a704b0aa532a76ac807579faac3b'
2015-07-24 03:47:18 +08:00
# github.com is the official download host per the vendor homepage
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-02-03 08:07:18 +08:00
checkpoint: '2ee73f85c1ca53a0a4df984e4a65b274a82417b9aa14ac4f63a4811b00b13dec'
name 'CotEditor'
homepage 'https://coteditor.com/'
2014-10-12 00:34:56 +08:00
license :gpl
2014-09-16 00:05:26 +08:00
app 'CotEditor.app'
2014-01-10 13:59:48 +08:00
end