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
2017-04-16 04:41:55 +08:00
version '0.8.5.1'
sha256 '8959f8395b4f8cf44aa606a57404ca8f8a70d9fbfd8f42962057cc105addc020'
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-04-30 03:19:11 +08:00
checkpoint: '91f8e1ed94a3efd26b043ef95adb29e24e2e981342a1534aaff6abf80782b53c'
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