homebrew-cask/Casks/chatty.rb

25 lines
759 B
Ruby
Raw Normal View History

2016-05-08 08:18:54 +08:00
cask 'chatty' do
2018-04-13 04:11:23 +08:00
version '0.9.1'
sha256 '50d4e1c05d32e15bf0147cbeee26e54f9bc56d4084ed060482f60f6499fe81ff'
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',
2018-04-13 04:11:23 +08:00
checkpoint: 'd15defdb7b11d3500b6ebf6bdc372beb545d7655f03dc8dcfa566155fa3a5d00'
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