]> arthur.barton.de Git - homebrew-alex.git/commitdiff
New formula: aclock 2.3
authorAlexander Barton <alex@barton.de>
Wed, 2 Jul 2014 20:19:22 +0000 (22:19 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 2 Jul 2014 20:19:22 +0000 (22:19 +0200)
aclock.rb [new file with mode: 0644]

diff --git a/aclock.rb b/aclock.rb
new file mode 100644 (file)
index 0000000..5f253d0
--- /dev/null
+++ b/aclock.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Aclock < Formula
+  url 'http://www.tenox.net/out/aclock-unix-curses.c'
+  sha1 '87b15f6030e27de3ac689e01120db2dd21003b3c'
+  version '2.3'
+  homepage 'http://www.tenox.net/out/'
+
+  def install
+    system "cc aclock-unix-curses.c -o aclock -lcurses -lm"
+    bin.install 'aclock'
+  end
+end