diff options
| author | Baptiste Fontaine | 2015-02-16 11:41:07 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-17 12:22:41 +0000 |
| commit | fef335de5f02caee1ae5abfe8c1e9ae1d8853c3d (patch) | |
| tree | 67409b36c1c0d33fc017f2bc489893ef6551695e | |
| parent | 96df560242889a74d53b3626142010dd1cd4853f (diff) | |
| download | homebrew-fef335de5f02caee1ae5abfe8c1e9ae1d8853c3d.tar.bz2 | |
browser 7
Closes #36853.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/browser.rb | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Library/Formula/browser.rb b/Library/Formula/browser.rb index 4a720753d..d15ca101d 100644 --- a/Library/Formula/browser.rb +++ b/Library/Formula/browser.rb @@ -1,7 +1,17 @@ -require 'formula' +class Browser < Formula + url "https://gist.github.com/defunkt/318247/raw/7720fc969d58a9bfdc74d71deaa15c1eb7582fc1/browser", + :using => :nounzip + homepage "https://gist.github.com/318247/" + sha1 "beaf6c40851628d188eccc9cc013d44dcb037521" + # This the gist revision number + version "7" -class Browser < GithubGistFormula - url 'https://gist.githubusercontent.com/defunkt/318247/raw/bcbcf6c5fb730b4f508c633cce56ba17828825c8/browser' - homepage 'https://gist.github.com/318247/' - sha1 '3474d81ef6eaaf13554fd6aa03e5227c4c72f1bb' + def install + bin.install "browser" + end + + test do + ENV["TERM"] = "xterm" + system "#{bin}/browser" + end end |
