homebrew-core/Formula/proguard.rb
Adam Vandenberg ce7138460d proguard 4.8
2012-06-05 20:49:31 -07:00

15 lines
432 B
Ruby

require 'formula'
class Proguard < Formula
homepage 'http://proguard.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/proguard/proguard/4.8/proguard4.8.tar.gz'
sha256 '84db4aef4235ad312e221ae95485d7848fc468db66699f1b155d89c5036374f6'
def install
libexec.install 'lib/proguard.jar'
(bin+"proguard").write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/proguard.jar" "$@"
EOS
end
end