homebrew-core/Formula/pms.rb

35 lines
1.1 KiB
Ruby

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
livecheck do
url :stable
end
bottle do
cellar :any
sha256 "de929bc53474adfa2a300f8954e0597489f88c22a29661e85c66d1ea8cc619ff" => :catalina
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