homebrew-cask/Casks/lyx.rb

19 lines
687 B
Ruby

cask 'lyx' do
version '2.3.3'
sha256 '503fe3153deaa8f88e07dee46a0814a377df4fd6f4577f0575866e09f4053541'
# ftp.lip6.fr/pub/lyx/ was verified as official when first introduced to the cask
url "https://ftp.lip6.fr/pub/lyx/bin/#{version.major_minor_patch}/LyX-#{version}+qt5-x86_64-cocoa.dmg"
appcast 'https://www.lyx.org/misc/rss/lyx_news_feed.xml'
name 'LyX'
homepage 'https://www.lyx.org/'
app 'LyX.app'
zap trash: [
"~/Library/Application Support/LyX-#{version.major_minor}",
"~/Library/Preferences/org.lyx.LyX-#{version.major_minor}.plist",
'~/Library/Saved Application State/org.lyx.lyx.savedState',
]
end