homebrew-core/Formula/batik.rb
Viktor Szakáts 42ff444955 batik: use https url
Closes Homebrew/homebrew#37776.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-17 09:41:13 +00:00

16 lines
515 B
Ruby

require 'formula'
class Batik < Formula
homepage 'https://xmlgraphics.apache.org/batik/'
url 'https://www.apache.org/dist/xmlgraphics/batik/binaries/batik-1.7.zip'
sha1 '69d974ab0a4e13cbdd649fa96785776563b73fcf'
def install
doc.install Dir['docs/*']
libexec.install 'lib', Dir['*.jar']
bin.write_jar_script libexec/'batik-rasterizer.jar', 'batik-rasterizer'
bin.write_jar_script libexec/'batik.jar', 'batik'
bin.write_jar_script libexec/'batik-ttf2svg.jar', 'batik-ttf2svg'
end
end