diff --git a/Formula/byobu.rb b/Formula/byobu.rb index 54b8b071b67..9f68b383a59 100644 --- a/Formula/byobu.rb +++ b/Formula/byobu.rb @@ -1,9 +1,7 @@ -require 'formula' - class Byobu < Formula - homepage 'http://byobu.co' - url 'https://launchpad.net/byobu/trunk/5.90/+download/byobu_5.90.orig.tar.gz' - sha1 'eea1d07673bc62ac1f5464111106fffd4bc22230' + homepage "http://byobu.co" + url "https://launchpad.net/byobu/trunk/5.92/+download/byobu_5.92.orig.tar.gz" + sha256 "22a5cab37c2426688945a5dfebc521dc684a4eda11bf48a1767dc6ba4b2b7a2c" bottle do sha1 "26ae7ad8f711402f1f203353723e30531a4a3e71" => :yosemite @@ -11,14 +9,18 @@ class Byobu < Formula sha1 "1da7ebe7174704d91b39cfb15f1d88290a5c876e" => :mountain_lion end - depends_on 'coreutils' - depends_on 'gnu-sed' # fails with BSD sed - depends_on 'tmux' - depends_on 'newt' => 'with-python' + depends_on "coreutils" + depends_on "gnu-sed" # fails with BSD sed + depends_on "tmux" + depends_on "newt" => "with-python" def install system "./configure", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + system bin/"byobu-status" end def caveats; <<-EOS.undent