homebrew-cask/Casks/lyx.rb

19 lines
689 B
Ruby

cask 'lyx' do
version '2.3.4.2'
sha256 '37c390de4405f3ee9ce4e2feba6ba8f66bc937f4fe4c67573b747215e1843551'
# 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