Skip to content

Commit

Permalink
dmenu: import from homebrew/x11.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jan 27, 2017
1 parent 5134a94 commit 20da651
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Formula/dmenu.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class Dmenu < Formula
desc "Dynamic menu for X11"
homepage "http://tools.suckless.org/dmenu/"
url "http://dl.suckless.org/tools/dmenu-4.6.tar.gz"
sha256 "4a7a24008a621c3cd656155ad91ab8136db8f0d3b9ec56dafeec518cabda96b3"

head "http://git.suckless.org/dmenu/", :using => :git

depends_on :x11

def install
system "make", "PREFIX=#{prefix}", "install"
end

test do
assert_match /#{version}/, shell_output("#{bin}/dmenu -v")
end
end

0 comments on commit 20da651

Please sign in to comment.