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