homebrew-cask/Casks/sigil.rb

21 lines
736 B
Ruby

cask 'sigil' do
version '0.9.17'
sha256 '260e7af3455afe6aba8f9cf226704d53297dc8290c217882c21994dc3f03430c'
# github.com/Sigil-Ebook/Sigil was verified as official when first introduced to the cask
url "https://github.com/Sigil-Ebook/Sigil/releases/download/#{version}/Sigil-#{version}-Mac-Package.dmg"
appcast 'https://github.com/Sigil-Ebook/Sigil/releases.atom'
name 'Sigil'
homepage 'https://sigil-ebook.com/'
depends_on macos: '>= :sierra'
app 'Sigil.app'
zap trash: [
'~/Library/Application Support/sigil-ebook',
'~/Library/Preferences/com.sigil-ebook.Sigil.app.plist',
'~/Library/Saved Application State/com.sigil-ebook.Sigil.app.savedState',
]
end