class Zenity < Formula desc "GTK+ dialog boxes for the command-line" homepage "https://live.gnome.org/Zenity" url "https://download.gnome.org/sources/zenity/3.28/zenity-3.28.1.tar.xz" sha256 "db179354721fb4e2d5c418e0dc41f09c831a6b2dd440e33f7743dfc266de8a6b" bottle do sha256 "33e96b6ef96ab194ced8ec552e5bb1de8212bc782d82320873ba0a6413547366" => :high_sierra sha256 "e6a508f02eae50cad3ba7c1f39bb712a4136c8caba9569f563cb2d0fa016f428" => :sierra sha256 "eb4386c1857fb2b4a41f5d0c8fb596b58add38a4e3f30d78b7223233aefa18c9" => :el_capitan end depends_on "pkg-config" => :build depends_on "itstool" => :build depends_on "gtk+3" def install system "./configure", "--prefix=#{prefix}" system "make" system "make", "install" end test do system bin/"zenity", "--help" end end