homebrew-cask/Casks/chatty.rb

25 lines
763 B
Ruby
Raw Normal View History

2016-05-08 08:18:54 +08:00
cask 'chatty' do
2016-10-30 10:39:26 +08:00
version '0.8.4.1'
sha256 'd241200802ec8a755cad4b6707c1ed39343ac82d4070b5a4656423386344ceb0'
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',
2016-10-30 10:39:26 +08:00
checkpoint: 'ef6d8bab49e52d165104d7ac747e326240c7d069165bf2f4226ea4f9a1da8701'
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
zap delete: '~/.chatty'
caveats do
depends_on_java('7+')
end
end