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