class Pms < Formula desc "Practical Music Search, an ncurses-based MPD client" homepage "https://pms.sourceforge.io" url "https://downloads.sourceforge.net/project/pms/pms/0.42/pms-0.42.tar.bz2" sha256 "96bf942b08cba10ee891a63eeccad307fd082ef3bd20be879f189e1959e775a6" revision 1 bottle do cellar :any sha256 "0c43ee20313b6616c6ececb9c906da12720b035862a894a3f9dd11984c640b30" => :mojave sha256 "f01d2f4db91f6b6bcf35f86c7a0d2b0fbed17941d9556fe0ba71e855c7667638" => :high_sierra sha256 "fa90afc92fc9d1e57a9a0a74dc63d3ec5ba92f1430caf5cad8fa54362b0da298" => :sierra end depends_on "pkg-config" => :build depends_on "gettext" depends_on "glib" def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install" end test do assert_match(/Practical Music Search v#{version}/, shell_output("#{bin}/pms -?", 4)) end end