homebrew-cask/Casks/chatty.rb

25 lines
758 B
Ruby
Raw Normal View History

2016-05-08 08:18:54 +08:00
cask 'chatty' do
2017-12-29 05:26:43 +08:00
version '0.9'
sha256 'aa99fd3535c45a4dd3666f872eb7a72744ca57588fd5b78f208e6114308e5079'
2016-05-08 08:18:54 +08:00
2016-07-05 05:51:23 +08:00
# github.com/chatty/chatty was verified as official when first introduced to the cask
2016-05-08 08:18:54 +08:00
url "https://github.com/chatty/chatty/releases/download/v#{version}/Chatty_#{version}.zip"
appcast 'https://github.com/chatty/chatty/releases.atom',
2017-12-29 05:26:43 +08:00
checkpoint: 'da17c44fc050c9f01206824ed87405791a8bf7d86154defa6158ed0072eb0568'
2016-05-08 08:18:54 +08:00
name 'Chatty'
homepage 'https://chatty.github.io/'
2016-05-08 08:18:54 +08:00
suite 'Chatty'
preflight do
# There is no sub-folder in the ZIP; the root *is* the folder
FileUtils.mv(staged_path.children, staged_path.join('Chatty').tap(&:mkpath))
end
2016-05-08 08:18:54 +08:00
2017-11-18 17:49:19 +08:00
zap trash: '~/.chatty'
2016-05-08 08:18:54 +08:00
caveats do
depends_on_java('7+')
end
end