homebrew-cask/Casks/cockatrice.rb

31 lines
1.3 KiB
Ruby

cask 'cockatrice' do
version '2.4.0,2017-11-19:Unwrapped'
sha256 'bd422d2ed42a1d15b7f83e1be9ace6b6b99b0e3130357dc087a9d554c54fecba'
# github.com/Cockatrice/Cockatrice was verified as official when first introduced to the cask
url "https://github.com/Cockatrice/Cockatrice/releases/download/#{version.after_comma.before_colon}-Release-#{version.before_comma}/Cockatrice-#{version.after_colon}-#{version.before_comma}.dmg"
appcast 'https://github.com/Cockatrice/Cockatrice/releases.atom',
checkpoint: '590f24d47778ff6abff0335f427c540a574b8553219add1d85876d01235a5713'
name 'Cockatrice'
homepage 'http://www.woogerworks.com/'
app 'cockatrice.app'
app 'oracle.app'
app 'servatrice.app'
uninstall quit: [
'com.cockatrice.cockatrice',
'com.cockatrice.oracle',
'com.cockatrice.servatrice',
]
zap trash: [
'~/Library/Application Support/Cockatrice',
'~/Library/Preferences/com.cockatrice.Cockatrice.plist',
'~/Library/Preferences/com.cockatrice.oracle.plist',
'~/Library/Preferences/de.cockatrice.Cockatrice.plist',
'~/Library/Saved Application State/com.cockatrice.cockatrice.savedState',
'~/Library/Saved Application State/com.cockatrice.oracle.savedState',
]
end