21 lines
727 B
Ruby
21 lines
727 B
Ruby
cask :v1 => 'pandoc' do
|
|
version '1.15'
|
|
sha256 '09546bfd900668ca9949dbb05124ef9ce9778725952a7112141e4e00abbb702e'
|
|
|
|
# github.com is the official download host per the vendor homepage
|
|
url "https://github.com/jgm/pandoc/releases/download/#{version}/pandoc-#{version}-osx.pkg"
|
|
appcast 'https://github.com/jgm/pandoc/releases.atom'
|
|
name 'Pandoc'
|
|
homepage 'http://johnmacfarlane.net/pandoc'
|
|
license :gpl
|
|
|
|
pkg "pandoc-#{version}-osx.pkg"
|
|
|
|
uninstall :pkgutil => 'net.johnmacfarlane.pandoc'
|
|
caveats <<-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
|