class Liquibase < Formula desc "Library for database change tracking" homepage "http://liquibase.org" url "https://github.com/liquibase/liquibase/releases/download/liquibase-parent-3.3.5/liquibase-3.3.5-bin.tar.gz" sha1 "94ae9bf3de3dcfa41c2951d2b7d21495af740f3c" def install rm_f Dir["*.bat"] chmod 0755, "liquibase" prefix.install_metafiles libexec.install Dir["*"] bin.install_symlink libexec+"liquibase" end def caveats <<-EOS.undent You should set the environment variable LIQUIBASE_HOME to #{libexec} EOS end test do system "#{bin}/liquibase", "--version" end end