class MysqlSearchReplace < Formula desc "Database search and replace script in PHP" homepage "https://interconnectit.com/products/search-and-replace-for-wordpress-databases/" url "https://github.com/interconnectit/Search-Replace-DB/archive/3.0.0.tar.gz" sha256 "2a2219f37083a75251ec9254f3466c0443df7ab677a3b40ec5d2f0acffb78120" def install libexec.install "srdb.class.php" libexec.install "srdb.cli.php" => "srdb" chmod 0755, libexec/"srdb" bin.install_symlink libexec/"srdb" end test do system bin/"srdb", "--help" end end