17 lines
460 B
Ruby
17 lines
460 B
Ruby
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"
|
|
sha256 "0ed48afe52890ccd92c21cc9f1533ecd3b936fbff93d4a4a4d39868388671d80"
|
|
|
|
def install
|
|
system "pod2man", "rainbarf", "rainbarf.1"
|
|
man1.install "rainbarf.1"
|
|
bin.install "rainbarf"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/rainbarf"
|
|
end
|
|
end
|