homebrew-core/Formula/epubcheck.rb
Tobias Fischer 02c6fee949 epubcheck: update URLs
Closes Homebrew/homebrew#35163.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2014-12-20 22:49:22 -05:00

13 lines
384 B
Ruby

require 'formula'
class Epubcheck < Formula
homepage 'https://github.com/IDPF/epubcheck'
url 'https://github.com/IDPF/epubcheck/releases/download/v3.0.1/epubcheck-3.0.1.zip'
sha1 '80a61fb2817ec547d292362793da5b91dbef92e3'
def install
jarname = "epubcheck-#{version}.jar"
libexec.install jarname, "lib"
bin.write_jar_script libexec/jarname, 'epubcheck'
end
end