90b82c1ffa
Closes Homebrew/homebrew#16732. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
13 lines
363 B
Ruby
13 lines
363 B
Ruby
require 'formula'
|
|
|
|
class Epubcheck < Formula
|
|
homepage 'http://code.google.com/p/epubcheck/'
|
|
url 'http://epubcheck.googlecode.com/files/epubcheck-3.0.zip'
|
|
sha1 'd4064f9c3ce1a82130897301374bc760ed69d55c'
|
|
|
|
def install
|
|
jarname = "epubcheck-#{version}.jar"
|
|
libexec.install jarname, "lib"
|
|
bin.write_jar_script libexec/jarname, 'epubcheck'
|
|
end
|
|
end
|