homebrew-cask/Casks/calibre.rb

41 lines
1.7 KiB
Ruby
Raw Normal View History

2014-11-14 01:25:31 +08:00
cask :v1 => 'calibre' do
if MacOS.release < :mountain_lion
version '1.48.0'
sha256 '0533283965fbc9a6618d0b27c85bdf3671fe75ff0e89eeff406fe1457ee61b14'
url "http://download.calibre-ebook.com/#{version}/calibre-#{version}.dmg"
else
2015-08-07 15:35:55 +08:00
version '2.34.0'
sha256 '52a5bad21f2d816a2a33095d4321c5606218ce958da13c01e2fb8b1a7214f5e4'
# github.com is an official download host per the vendor homepage, and a faster mirror than the main one
url "https://github.com/kovidgoyal/calibre/releases/download/v#{version}/calibre-#{version}.dmg"
appcast 'https://github.com/kovidgoyal/calibre/releases.atom'
end
2015-02-28 23:44:37 +08:00
name 'calibre'
homepage 'http://calibre-ebook.com/'
license :gpl
2014-09-16 00:05:21 +08:00
app 'calibre.app'
2015-07-16 00:16:10 +08:00
binary 'calibre.app/Contents/MacOS/calibre'
binary 'calibre.app/Contents/MacOS/calibre-complete'
binary 'calibre.app/Contents/MacOS/calibre-customize'
binary 'calibre.app/Contents/MacOS/calibre-debug'
binary 'calibre.app/Contents/MacOS/calibre-parallel'
binary 'calibre.app/Contents/MacOS/calibre-server'
binary 'calibre.app/Contents/MacOS/calibre-smtp'
binary 'calibre.app/Contents/MacOS/calibredb'
binary 'calibre.app/Contents/MacOS/ebook-convert'
binary 'calibre.app/Contents/MacOS/ebook-device'
binary 'calibre.app/Contents/MacOS/ebook-edit'
binary 'calibre.app/Contents/MacOS/ebook-meta'
binary 'calibre.app/Contents/MacOS/ebook-polish'
binary 'calibre.app/Contents/MacOS/ebook-viewer'
binary 'calibre.app/Contents/MacOS/fetch-ebook-metadata'
binary 'calibre.app/Contents/MacOS/lrf2lrs'
binary 'calibre.app/Contents/MacOS/lrfviewer'
binary 'calibre.app/Contents/MacOS/lrs2lrf'
binary 'calibre.app/Contents/MacOS/markdown-calibre'
binary 'calibre.app/Contents/MacOS/web2disk'
2013-05-08 01:04:43 +08:00
end