homebrew-cask/Casks/gnucash.rb

21 lines
821 B
Ruby

cask 'gnucash' do
version '3.0-1'
sha256 'c81f821008ce8d30a611c4b54474527c65c9cac3a0a4024a67189f813844e585'
# github.com/Gnucash/gnucash was verified as official when first introduced to the cask
url "https://github.com/Gnucash/gnucash/releases/download/#{version.major_minor_patch}/Gnucash-Intel-#{version}.dmg"
appcast 'https://github.com/Gnucash/gnucash/releases.atom',
checkpoint: '3f2d4f400eddf17bfcff7978527cee1f6399111f875fec14bee472e4026b9a4c'
name 'GnuCash'
homepage 'https://www.gnucash.org/'
app 'Gnucash.app'
app 'FinanceQuote Update.app'
zap trash: [
'~/Library/Application Support/Gnucash',
'~/Library/Preferences/org.gnucash.Gnucash.plist',
'~/Library/Saved Application State/org.gnucash.Gnucash.savedState',
]
end