apgdiff 2.4

Closes #15528.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jim Radford authored and Adam Vandenberg committed 2012-10-18 10:09:41 -07:00
1 parent 5e2012241e
commit ff42608f43
1 file changed
+3 -5
+3 -5
View File
@@ -2,14 +2,12 @@ require 'formula'
class Apgdiff < Formula
homepage 'http://apgdiff.startnet.biz/index.php'
url 'http://apgdiff.startnet.biz/download/apgdiff-2.3-bin.zip'
mirror 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-2.3/apgdiff-2.3-bin.zip'
sha1 '6d42dd3b2496dec0063de3070ad7306a1588e266'
url 'http://apgdiff.startnet.biz/download/apgdiff-2.4-bin.zip'
mirror 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-2.4/apgdiff-2.4-bin.zip'
sha1 '1150d44e9da2c1417767d4106bdb297ed0adfed8'
def install
libexec.install "apgdiff-#{version}.jar"
prefix.install 'changelog.txt' => 'ChangeLog'
prefix.install 'license.txt' => 'LICENSE'
(bin+'apgdiff').write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/apgdiff-#{version}.jar" "$@"