require 'formula' class JbossForge < Formula homepage 'http://forge.jboss.org/' url 'https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.forge&a=forge-distribution&v=1.4.3.Final&e=zip' version '1.4.3.Final' sha1 '1c6a9491cfd6eee2c4484bf350acd3515231ffad' def install rm_f Dir["bin/*.bat"] libexec.install %w{ bin modules jboss-modules.jar } bin.install_symlink libexec/'bin/forge' end end