homebrew-core/Formula/tty-clock.rb
phySi0 e77892950f tty-clock 0.1
Closes Homebrew/homebrew#23348.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-28 18:56:02 -07:00

18 lines
430 B
Ruby

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