homebrew-core/Formula/epubcheck.rb
Chongyu Zhu aebd4a8872
epubcheck 4.2.0
Closes #39218.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-04-25 00:03:28 +08:00

14 lines
450 B
Ruby

class Epubcheck < Formula
desc "Validate EPUB files, version 2.0 and later"
homepage "https://github.com/w3c/epubcheck"
url "https://github.com/w3c/epubcheck/releases/download/v4.2.0/epubcheck-4.2.0.zip"
sha256 "4bedb0af1e181be89b634515c26c14d24d39bf276e9eba53f6eb42be912e90c6"
bottle :unneeded
def install
jarname = "epubcheck.jar"
libexec.install jarname, "lib"
bin.write_jar_script libexec/jarname, "epubcheck"
end
end