2015-12-18 09:15:28 +08:00
|
|
|
cask 'calibre' do
|
2018-06-15 18:28:38 +08:00
|
|
|
version '3.26.1'
|
|
|
|
sha256 '49648d0611d24dd18ac1a0e126c45a93bedccb53dfa59115d5fedae626ac6205'
|
2014-06-27 08:01:02 +08:00
|
|
|
|
2016-01-12 16:14:42 +08:00
|
|
|
url "https://download.calibre-ebook.com/#{version}/calibre-#{version}.dmg"
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://github.com/kovidgoyal/calibre/releases.atom'
|
2015-02-28 23:44:37 +08:00
|
|
|
name 'calibre'
|
2016-01-12 16:14:42 +08:00
|
|
|
homepage 'https://calibre-ebook.com/'
|
2014-06-27 08:01:02 +08:00
|
|
|
|
2018-01-19 05:19:21 +08:00
|
|
|
depends_on macos: '>= :mavericks'
|
|
|
|
|
2014-09-16 00:05:21 +08:00
|
|
|
app 'calibre.app'
|
2016-06-01 03:23:21 +08:00
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibre"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibre-complete"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibre-customize"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibre-debug"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibre-parallel"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibre-server"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibre-smtp"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/calibredb"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/ebook-convert"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/ebook-device"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/ebook-edit"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/ebook-meta"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/ebook-polish"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/ebook-viewer"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/fetch-ebook-metadata"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/lrf2lrs"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/lrfviewer"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/lrs2lrf"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/markdown-calibre"
|
|
|
|
binary "#{appdir}/calibre.app/Contents/MacOS/web2disk"
|
2015-10-14 23:29:52 +08:00
|
|
|
|
2017-11-18 17:49:19 +08:00
|
|
|
zap trash: [
|
|
|
|
'~/Library/Caches/calibre',
|
|
|
|
'~/Library/Preferences/calibre',
|
|
|
|
'~/Library/Preferences/net.kovidgoyal.calibre.plist',
|
|
|
|
'~/Library/Saved Application State/com.calibre-ebook.ebook-viewer.savedState',
|
|
|
|
'~/Library/Saved Application State/net.kovidgoyal.calibre.savedState',
|
|
|
|
]
|
2013-05-08 01:04:43 +08:00
|
|
|
end
|