Skip to content

Commit

Permalink
ccextractor 0.75
Browse files Browse the repository at this point in the history
Version bump. Exceptionally basic test since curling in and testing a
permissively-licensed closed-captioned file could very probably be
overkill.

Closes Homebrew/legacy-homebrew#36485.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
DomT4 authored and MikeMcQuaid committed Feb 3, 2015
1 parent 87733cc commit 4a71e31
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions 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

0 comments on commit 4a71e31

Please sign in to comment.