homebrew-core/Formula/kqwait.rb

26 lines
860 B
Ruby

class Kqwait < Formula
desc "Wait for events on files or directories on macOS"
homepage "https://github.com/sschober/kqwait"
url "https://github.com/sschober/kqwait/archive/kqwait-v1.0.3.tar.gz"
sha256 "878560936d473f203c0ccb3d42eadccfb50cff15e6f15a59061e73704474c531"
head "https://github.com/sschober/kqwait.git"
bottle do
cellar :any_skip_relocation
sha256 "cdf423b95df66f4875df6355e1bef51c41132d1de83205d2a1f87663be5edfb8" => :sierra
sha256 "889401570c96026d7e343d48165cd2bc61735678e0125902e7d36680fa64d9a9" => :el_capitan
sha256 "c65e153f40c8f7a3e8732f4cb386e2758cdff079e7600524011ca7c6d1da4a0d" => :yosemite
sha256 "12b37969bfe8cabc32eef282d25cab5c5f973f91d29345c9d1a6ea9a61de0c68" => :mavericks
end
def install
system "make"
bin.install "kqwait"
end
test do
system "#{bin}/kqwait", "-v"
end
end