18 lines
453 B
Ruby
18 lines
453 B
Ruby
require "formula"
|
|
|
|
class Rainbarf < Formula
|
|
desc "CPU/RAM/battery stats chart bar for tmux (and GNU screen)"
|
|
homepage "https://github.com/creaktive/rainbarf"
|
|
url "https://github.com/creaktive/rainbarf/archive/v1.2.tar.gz"
|
|
sha1 "684f46427cc9f36ffee6ae29e51f88f6dfc26760"
|
|
|
|
def install
|
|
system "pod2man", "rainbarf", "rainbarf.1"
|
|
man1.install "rainbarf.1"
|
|
bin.install "rainbarf"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/rainbarf"
|
|
end
|
|
end
|