homebrew-core/Formula/dmenu.rb

27 lines
879 B
Ruby
Raw Normal View History

2017-01-25 10:24:16 +00:00
class Dmenu < Formula
desc "Dynamic menu for X11"
2017-08-31 14:50:45 +00:00
homepage "https://tools.suckless.org/dmenu/"
url "https://dl.suckless.org/tools/dmenu-4.7.tar.gz"
sha256 "a75635f8dc2cbc280deecb906ad9b7594c5c31620e4a01ba30dc83984881f7b9"
2017-01-25 10:24:16 +00:00
2017-08-31 14:50:45 +00:00
head "https://git.suckless.org/dmenu/", :using => :git
2017-01-25 10:24:16 +00:00
2017-01-27 02:33:29 +00:00
bottle do
cellar :any_skip_relocation
2017-09-22 04:19:24 +00:00
sha256 "1f81d44aa27e4059f2bef9c768b6875c1f1ed3f462ad7582df976f5c50b518f2" => :high_sierra
2017-05-30 13:14:22 +00:00
sha256 "2ef9de864fabaaae5e7214658d0bae190e0e895353fccbb5cdebc2a94f22306f" => :sierra
sha256 "0c2038a9f53d43a393d6108f49465fb095f2854d4f31acb777645018d84a6cd8" => :el_capitan
sha256 "75598d67eac5f745e325ae0f0f5eed063873f92bbd64c02126cf2ea95682c2c3" => :yosemite
2017-01-27 02:33:29 +00:00
end
2017-01-25 10:24:16 +00:00
depends_on :x11
def install
system "make", "PREFIX=#{prefix}", "install"
end
test do
assert_match /#{version}/, shell_output("#{bin}/dmenu -v")
end
end