homebrew-core/Formula/dex2jar.rb
Brett Koonce 213b5833ec dex2jar 0.0.9.15
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-12 20:27:19 -07:00

20 lines
481 B
Ruby

require 'formula'
class Dex2jar < Formula
homepage 'https://code.google.com/p/dex2jar/'
url 'https://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.zip'
sha1 'cc9366836d576ce22a18de8f214368636db9fcba'
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