homebrew-core/Formula/proguard.rb

16 lines
432 B
Ruby
Raw Normal View History

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