dex2jar 0.0.9.13

Closes Homebrew/homebrew#19858.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Sebastian Roth 2013-05-16 16:17:40 +08:00 committed by Adam Vandenberg
parent 74cb50c3fa
commit 7ef74975f0

20
Formula/dex2jar.rb Normal file
View file

@ -0,0 +1,20 @@
require 'formula'
class Dex2jar < Formula
homepage 'https://code.google.com/p/dex2jar/'
url 'https://dex2jar.googlecode.com/files/dex2jar-0.0.9.13.zip'
sha1 '89057a41d646b15a1a9bb38747371b35d32b326b'
def install
# Remove Windows scripts
rm_rf Dir['*.bat']
# Install files
prefix.install_metafiles
libexec.install Dir['*']
Dir["#{libexec}/*.sh"].each do |script|
bin.install_symlink script => File.basename(script, '.sh')
end
end
end