homebrew-cask/Casks/chatty.rb

24 lines
669 B
Ruby
Raw Normal View History

2016-05-08 08:18:54 +08:00
cask 'chatty' do
version '0.9.7'
sha256 '3fcf4c6642f3f167f79818e8f9afbe1a927945d5e965fb29163ef371be1dbdd1'
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"
2018-06-12 22:37:26 +08:00
appcast 'https://github.com/chatty/chatty/releases.atom'
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
2018-05-17 06:23:57 +08:00
depends_on_java '7+'
2016-05-08 08:18:54 +08:00
end
end