homebrew-core/Formula/epubcheck.rb

14 lines
365 B
Ruby
Raw Normal View History

require 'formula'
class Epubcheck < Formula
homepage 'http://code.google.com/p/epubcheck/'
url 'http://epubcheck.googlecode.com/files/epubcheck-3.0.1.zip'
sha1 '80a61fb2817ec547d292362793da5b91dbef92e3'
def install
jarname = "epubcheck-#{version}.jar"
2012-08-07 18:20:52 +00:00
libexec.install jarname, "lib"
bin.write_jar_script libexec/jarname, 'epubcheck'
end
2012-08-29 16:08:53 +00:00
end