2014-11-14 01:26:35 +08:00
|
|
|
cask :v1 => 'pandoc' do
|
2015-01-10 23:20:12 +08:00
|
|
|
version '1.13.2'
|
|
|
|
sha256 '02455fba5353568b19d8b0bebbda9b99ba2c943b3f01b11b185f25c7db111b50'
|
2014-06-27 08:01:34 +08:00
|
|
|
|
2015-01-18 10:08:49 +08:00
|
|
|
# github.com is the official download host per the vendor homepage
|
2014-08-16 22:39:58 +08:00
|
|
|
url "https://github.com/jgm/pandoc/releases/download/#{version}/pandoc-#{version}-osx.pkg"
|
2015-03-15 19:54:13 +08:00
|
|
|
appcast 'https://github.com/jgm/pandoc/releases.atom'
|
2015-01-12 02:26:07 +08:00
|
|
|
name 'Pandoc'
|
2014-06-27 08:01:34 +08:00
|
|
|
homepage 'http://johnmacfarlane.net/pandoc'
|
2014-10-12 00:34:57 +08:00
|
|
|
license :gpl
|
2014-06-27 08:01:34 +08:00
|
|
|
|
2014-09-10 23:37:05 +08:00
|
|
|
pkg "pandoc-#{version}-osx.pkg"
|
2014-11-22 22:12:44 +08:00
|
|
|
|
2014-03-10 01:45:07 +08:00
|
|
|
uninstall :pkgutil => 'net.johnmacfarlane.pandoc'
|
2014-10-04 22:09:16 +08:00
|
|
|
caveats <<-EOS.undent
|
2014-05-18 19:11:49 +08:00
|
|
|
Note that homebrew also provides a compiled pandoc Formula that links its
|
|
|
|
binary to /usr/local/bin/pandoc. It's not recommended to install both the
|
|
|
|
Cask and the Formula of Pandoc.
|
2014-10-04 22:09:16 +08:00
|
|
|
EOS
|
2013-08-06 08:36:17 +08:00
|
|
|
end
|