homebrew-cask/Casks/chatty.rb

24 lines
669 B
Ruby

cask 'chatty' do
version '0.12'
sha256 '06bc32355e97f8d55ae888664dc8fabafca7ab07e4cdaa7c5c282c0a28f8f26c'
# 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