homebrew-core/Formula/apgdiff.rb

16 lines
405 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Apgdiff < Formula
homepage 'http://apgdiff.sourceforge.net/'
2012-02-13 05:13:28 +00:00
url 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-1.4/apgdiff-1.4-bin.zip'
md5 '6ef287d02b4429d2111140f7fb2d8c29'
def install
libexec.install "apgdiff-1.4.jar"
2012-02-13 05:13:28 +00:00
(bin+'apgdiff').write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/apgdiff-1.4.jar" "$@"
EOS
end
end