From 31b7f62c903c99efa2d7c26e9827f2ccbc8d9923 Mon Sep 17 00:00:00 2001 From: phySi0 Date: Thu, 17 Oct 2013 03:38:50 +0100 Subject: tty-clock 0.1 Closes #23348. Signed-off-by: Adam Vandenberg --- Library/Formula/tty-clock.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/tty-clock.rb (limited to 'Library') diff --git a/Library/Formula/tty-clock.rb b/Library/Formula/tty-clock.rb new file mode 100644 index 000000000..cf0e148b7 --- /dev/null +++ b/Library/Formula/tty-clock.rb @@ -0,0 +1,18 @@ +require 'formula' + +class TtyClock < Formula + homepage 'https://github.com/xorg62/tty-clock' + url 'https://github.com/xorg62/tty-clock/archive/v0.1.tar.gz' + sha1 '5350a9c6c391f8a87fd8f467ca3aeb932585e69e' + head 'https://github.com/xorg62/tty-clock.git' + + def install + inreplace "Makefile", "/usr/local/bin/", "#{bin}/" + system "make" + system "make install" + end + + test do + system "#{bin}/tty-clock -i" + end +end -- cgit v1.2.3