2014-11-14 01:25:31 +08:00
|
|
|
cask :v1 => 'calibre' do
|
2015-06-17 22:48:32 +08:00
|
|
|
if MacOS.release < :mountain_lion
|
|
|
|
version '1.48.0'
|
|
|
|
sha256 '0533283965fbc9a6618d0b27c85bdf3671fe75ff0e89eeff406fe1457ee61b14'
|
|
|
|
url "http://download.calibre-ebook.com/#{version}/calibre-#{version}.dmg"
|
|
|
|
else
|
2015-06-20 01:32:34 +08:00
|
|
|
version '2.31.0'
|
|
|
|
sha256 'f46e1676bdc74249c98fa3bd54cf8666e3154b6e8faa16e52490b1d652420b35'
|
2015-06-17 22:48:32 +08:00
|
|
|
|
|
|
|
# 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
|
2014-06-27 08:01:02 +08:00
|
|
|
|
2015-02-28 23:44:37 +08:00
|
|
|
name 'calibre'
|
2014-06-27 08:01:02 +08:00
|
|
|
homepage 'http://calibre-ebook.com/'
|
2014-10-16 05:17:38 +08:00
|
|
|
license :gpl
|
2014-06-27 08:01:02 +08:00
|
|
|
|
2014-09-16 00:05:21 +08:00
|
|
|
app 'calibre.app'
|
2013-05-08 01:04:43 +08:00
|
|
|
end
|