homebrew-cask/Casks/chatty.rb

24 lines
668 B
Ruby

cask 'chatty' do
version '0.11'
sha256 '609c742afd7a848a4d87058559f7b819eeb7d4bccadeed13c3206cb1b9cc40de'
# github.com/chatty/chatty was verified as official when first introduced to the cask
url "https://github.com/chatty/chatty/releases/download/v#{version}/Chatty_#{version}.zip"
appcast 'https://github.com/chatty/chatty/releases.atom'
name 'Chatty'
homepage 'https://chatty.github.io/'
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
zap trash: '~/.chatty'
caveats do
depends_on_java '7+'
end
end