aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/epubcheck.rb
blob: 32f99d7f4ce708f2e9cf64792146fddbe9da7a2e (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 '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