1 class Epubcheck < Formula
2 desc "Validate EPUB files, version 2.0 and later"
3 homepage "https://github.com/w3c/epubcheck"
4 url "https://github.com/w3c/epubcheck/releases/download/v5.2.1/epubcheck-5.2.1.zip"
5 sha256 "0532f6291faa2bb729dd253f958868a2a57dbd2c32f881a97c7c980c5940309e"
9 sha256 cellar: :any_skip_relocation, all: "ad5ac9fa8cf59163ab7261ae951682ed275478c220724e417966ee68b529af9c"
15 jarname = "epubcheck.jar"
16 libexec.install jarname, "lib"
17 bin.write_jar_script libexec/jarname, "epubcheck"