2013-08-06 08:36:17 +08:00
|
|
|
class Pandoc < Cask
|
2014-09-09 08:40:55 +08:00
|
|
|
version '1.13.1'
|
|
|
|
sha256 'd82547f5a6838074381a8e97f0f27984bbdb527e211320fc78791d9a64479b2f'
|
2014-06-27 08:01:34 +08:00
|
|
|
|
2014-08-16 22:39:58 +08:00
|
|
|
url "https://github.com/jgm/pandoc/releases/download/#{version}/pandoc-#{version}-osx.pkg"
|
2014-06-27 08:01:34 +08:00
|
|
|
homepage 'http://johnmacfarlane.net/pandoc'
|
|
|
|
|
2014-09-10 23:37:05 +08:00
|
|
|
pkg "pandoc-#{version}-osx.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
|