2013-08-06 08:36:17 +08:00
|
|
|
class Pandoc < Cask
|
2014-05-15 13:18:45 +08:00
|
|
|
url 'https://github.com/jgm/pandoc/releases/download/1.12.4/pandoc-1.12.4-osx.pkg.zip'
|
2014-02-15 12:31:01 +08:00
|
|
|
homepage 'http://johnmacfarlane.net/pandoc'
|
2014-05-09 00:26:24 +08:00
|
|
|
version '1.12.4'
|
|
|
|
sha256 '86324520853bc6e2ea0d36bf4d3bb4954ff494e99c04b29a5b66803e9cc50c89'
|
|
|
|
install 'pandoc-1.12.4.pkg'
|
2014-03-10 01:45:07 +08:00
|
|
|
uninstall :pkgutil => 'net.johnmacfarlane.pandoc'
|
2014-05-18 19:11:49 +08:00
|
|
|
caveats do
|
|
|
|
puts <<-EOS.undent
|
|
|
|
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.
|
|
|
|
EOS
|
|
|
|
end
|
2013-08-06 08:36:17 +08:00
|
|
|
end
|