diff options
| author | Dominyk Tiller | 2015-02-03 04:07:12 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-03 08:32:39 +0000 |
| commit | 3b2fe2ab5e92e4bdd98a6d74d24740989025051a (patch) | |
| tree | a97d5f42c766667f2125f3b5372b76d2b0117b6a /Library/Formula | |
| parent | 47321df08e49c02c1f6bd7b82033b6660c5b53a0 (diff) | |
| download | homebrew-3b2fe2ab5e92e4bdd98a6d74d24740989025051a.tar.bz2 | |
ccextractor 0.75
Version bump. Exceptionally basic test since curling in and testing a
permissively-licensed closed-captioned file could very probably be
overkill.
Closes #36485.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ccextractor.rb | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Library/Formula/ccextractor.rb b/Library/Formula/ccextractor.rb index 64eb2436b..7d2f3cf34 100644 --- a/Library/Formula/ccextractor.rb +++ b/Library/Formula/ccextractor.rb @@ -1,13 +1,19 @@ -require "formula" - class Ccextractor < Formula homepage "http://ccextractor.sourceforge.net/" - url "https://downloads.sourceforge.net/project/ccextractor/ccextractor/0.74/ccextractor.src.0.74.zip" - sha1 "3118533154e23078675523d3edbca8a657eda54c" + url "https://downloads.sourceforge.net/project/ccextractor/ccextractor/0.75/ccextractor.src.0.75.zip" + sha1 "c36f8eadb2074d88782d6628e07c762e80e4c31c" + head "https://github.com/ccextractor/ccextractor.git" def install - cd "mac" - system "bash ./build.command" - bin.install "ccextractor" + cd "mac" do + system "bash", "./build.command" + bin.install "ccextractor" + end + (share+"examples").install "docs/ccextractor.cnf.sample" + end + + test do + # Without a closed captioned file to play with, we're limited here. + assert_match /outputfilename/, pipe_output("#{bin}/ccextractor 2>&1") end end |
