diff options
| author | Tobias Bieniek | 2014-11-18 12:08:17 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-22 14:25:59 +0000 |
| commit | 45c9a21111bb1459bfded076431e27c598e591e7 (patch) | |
| tree | 68ad1eb273d349d96510c57b224a828a94310a06 /Library | |
| parent | 0e8ea447560dfd3f473359c649f827b2b41d14e6 (diff) | |
| download | homebrew-45c9a21111bb1459bfded076431e27c598e591e7.tar.bz2 | |
odt2txt 0.5 (new formula)
Closes #34281.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/odt2txt.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/odt2txt.rb b/Library/Formula/odt2txt.rb new file mode 100644 index 000000000..07167410d --- /dev/null +++ b/Library/Formula/odt2txt.rb @@ -0,0 +1,22 @@ +require "formula" + +class Odt2txt < Formula + homepage "https://github.com/dstosberg/odt2txt/" + url "https://github.com/dstosberg/odt2txt/archive/v0.5.tar.gz" + sha1 "deac1995f02d3b907843dd99a975b201a5f55177" + + def install + system "make", "install" + end + + resource "sample" do + url "https://github.com/Turbo87/odt2txt/raw/samples/samples/sample-1.odt" + sha1 "0f29df4fd772c407d7d7b105281cd926f0204b17" + end + + test do + resource("sample").stage do |r| + system "odt2txt", r.cached_download + end + end +end |
