epubcheck 3.0

Closes Homebrew/homebrew#16732.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
DJManas 2012-12-24 17:15:09 +01:00 committed by Jack Nagel
parent 0254adadce
commit 90b82c1ffa
1 changed files with 3 additions and 9 deletions

View File

@ -2,17 +2,11 @@ require 'formula'
class Epubcheck < Formula
homepage 'http://code.google.com/p/epubcheck/'
url 'http://epubcheck.googlecode.com/files/epubcheck-1.2.zip'
sha1 '86036eadad8408070791b3da368958239ed8a410'
devel do
url 'http://epubcheck.googlecode.com/files/epubcheck-3.0-RC-1.zip'
version '3.0-RC-1'
sha1 '055d8aaaaee70c581aced379097bb1eb1e7a8826'
end
url 'http://epubcheck.googlecode.com/files/epubcheck-3.0.zip'
sha1 'd4064f9c3ce1a82130897301374bc760ed69d55c'
def install
jarname = build.devel? ? "epubcheck-3.0-RC-1.jar" : "epubcheck-1.2.jar"
jarname = "epubcheck-#{version}.jar"
libexec.install jarname, "lib"
bin.write_jar_script libexec/jarname, 'epubcheck'
end