diff options
| author | vemacs | 2014-03-26 09:03:34 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-26 16:56:01 +0000 |
| commit | cf3da38457833987c6556d970e44e793cc9841ab (patch) | |
| tree | 8fab1a9c29d5f7d7e0fbe2cab1754a3b9826542a /Library/Formula | |
| parent | bd37636e159f9222ca41d506cf57026406ab4ba6 (diff) | |
| download | homebrew-cf3da38457833987c6556d970e44e793cc9841ab.tar.bz2 | |
pastebinit 1.4.1 (new formula)
Pastebinit is a command-line pastebin client. Easily pastebin
configuration files, logs, and more with a simple pipe. The default
pastebin is pastebin.com, but others are available (e.g.
paste.ubuntu.com). See `man pastebinit` for more info.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pastebinit.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/pastebinit.rb b/Library/Formula/pastebinit.rb new file mode 100644 index 000000000..dbe39e643 --- /dev/null +++ b/Library/Formula/pastebinit.rb @@ -0,0 +1,23 @@ +require "formula" + +class Pastebinit < Formula + homepage "https://launchpad.net/pastebinit" + url "https://launchpad.net/pastebinit/trunk/1.4.1/+download/pastebinit-1.4.1.tar.gz" + sha1 "1482311559bc939bb78bbd3e05b15400105bb9c8" + + depends_on "python3" + depends_on "docbook2x" => :build + + def install + inreplace "pastebinit", "/usr/bin/python3", Formula["python3"].opt_bin + "python3" + system "docbook2man", "pastebinit.xml" + bin.install "pastebinit" + etc.install "pastebin.d" + man1.install "PASTEBINIT.1" => "pastebinit.1" + libexec.install "po", "utils" + end + + test do + system "date | pastebinit" + end +end |
