Merge pull request #207020 from Homebrew/bump-qpdf-11.10.0
[Homebrew/homebrew-core.git] / Formula / e / epubcheck.rb
blobb433340e060e9ee18d56118acf13580a9a154aee
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"
6   license "BSD-3-Clause"
8   bottle do
9     sha256 cellar: :any_skip_relocation, all: "ad5ac9fa8cf59163ab7261ae951682ed275478c220724e417966ee68b529af9c"
10   end
12   depends_on "openjdk"
14   def install
15     jarname = "epubcheck.jar"
16     libexec.install jarname, "lib"
17     bin.write_jar_script libexec/jarname, "epubcheck"
18   end
19 end