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=2.7.2.Final&e=zip&c=offline' version '2.7.2.Final' sha1 '5715dfb0cf13ec8f96971d698f97e6eb40e9a2b7' def install rm_f Dir["bin/*.bat"] libexec.install %w{ addons bin img lib logging.properties } bin.install_symlink libexec/'bin/forge' end end