homebrew-cask/Casks/gnucash.rb

19 lines
742 B
Ruby

cask 'gnucash' do
version '3.8b,3'
sha256 '05744be1fc8c60609e9315c2bdaf5f7c7ad51c513bea8408df7546f7d1ed30e7'
# github.com/Gnucash/gnucash was verified as official when first introduced to the cask
url "https://github.com/Gnucash/gnucash/releases/download/#{version.before_comma}/Gnucash-Intel-#{version.before_comma.chomp('b')}-#{version.after_comma}.dmg"
appcast 'https://github.com/Gnucash/gnucash/releases.atom'
name 'GnuCash'
homepage 'https://www.gnucash.org/'
app 'Gnucash.app'
zap trash: [
'~/Library/Application Support/Gnucash',
'~/Library/Preferences/org.gnucash.Gnucash.plist',
'~/Library/Saved Application State/org.gnucash.Gnucash.savedState',
]
end