diff --git a/Formula/pipes-sh.rb b/Formula/pipes-sh.rb new file mode 100644 index 0000000000..4bec06b8dc --- /dev/null +++ b/Formula/pipes-sh.rb @@ -0,0 +1,15 @@ +class PipesSh < Formula + desc "Animated pipes terminal screensaver" + homepage "https://github.com/pipeseroni/pipes.sh" + url "https://github.com/pipeseroni/pipes.sh/archive/v1.1.0.tar.gz" + sha256 "829f0815f0721453833942c8da28bf02845bfef9f844373d9ed67d5017a54588" + head "https://github.com/pipeseroni/pipes.sh.git" + + def install + system "make", "install", "PREFIX=#{prefix}" + end + + test do + assert_equal version.to_s, shell_output("#{bin}/pipes.sh -v").strip.split[-1] + end +end