dex2jar 0.0.9.13
Closes Homebrew/homebrew#19858. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
74cb50c3fa
commit
7ef74975f0
1 changed files with 20 additions and 0 deletions
20
Formula/dex2jar.rb
Normal file
20
Formula/dex2jar.rb
Normal 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
|
Loading…
Reference in a new issue