diff options
| author | phySi0 | 2013-10-17 03:38:50 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-10-28 18:56:02 -0700 |
| commit | 31b7f62c903c99efa2d7c26e9827f2ccbc8d9923 (patch) | |
| tree | d67544cc508f86269ba9bf439a9c6a9ceabe4ba6 /Library/Formula/tty-clock.rb | |
| parent | efc12a9eb54c1243cd211e4b573ab98b86788a21 (diff) | |
| download | homebrew-31b7f62c903c99efa2d7c26e9827f2ccbc8d9923.tar.bz2 | |
tty-clock 0.1
Closes #23348.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/tty-clock.rb')
| -rw-r--r-- | Library/Formula/tty-clock.rb | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
