aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDJManas2012-12-24 17:15:09 +0100
committerJack Nagel2012-12-24 11:03:46 -0600
commit6cdd56bf9cb9bcf68d7bd091a37c84f57e38994b (patch)
tree708fb4282ae99cdd1e3c5b2da937a75f661932fe /Library
parentf5d35c3dd89950905bd50c0e752e4248c7d7b1e9 (diff)
downloadhomebrew-6cdd56bf9cb9bcf68d7bd091a37c84f57e38994b.tar.bz2
epubcheck 3.0
Closes #16732. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/epubcheck.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/Library/Formula/epubcheck.rb b/Library/Formula/epubcheck.rb
index 73c295983..32f99d7f4 100644
--- a/Library/Formula/epubcheck.rb
+++ b/Library/Formula/epubcheck.rb
@@ -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