homebrew-core/Formula/dmenu.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes .
Closes .

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

18 lines
372 B
Ruby

require 'formula'
class Dmenu < Formula
homepage 'http://tools.suckless.org/dmenu/'
url 'http://dl.suckless.org/tools/dmenu-4.5.tar.gz'
sha1 '70c1a13b950b7b0cb1bc35e30c6e861a78359953'
head 'http://hg.suckless.org/dmenu/'
depends_on :x11
def install
system "make", "PREFIX=#{prefix}", "install"
end
test do
system "#{bin}/dmenu", "-v"
end
end