blob: 93a31dd5f3a37f6076ff7be8e67a12c53f4c9fcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
  | 
require 'formula'
class Epubcheck < Formula
  homepage 'http://code.google.com/p/epubcheck/'
  url 'https://epubcheck.googlecode.com/files/epubcheck-3.0.1.zip'
  sha1 '80a61fb2817ec547d292362793da5b91dbef92e3'
  def install
    jarname = "epubcheck-#{version}.jar"
    libexec.install jarname, "lib"
    bin.write_jar_script libexec/jarname, 'epubcheck'
  end
end
  |