diff options
| author | Adam Vandenberg | 2014-04-26 17:14:52 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-26 17:14:52 -0700 |
| commit | eb1a567eb6035f25c83b17f2a1322e3d87c924bd (patch) | |
| tree | 63488690c8cb7c7860ec2d4e54eaf8761d5e37dd /Library/Formula/youtube-dl.rb | |
| parent | 19f51e0d4a7ed0adb675a9fa866f818c5a24c05e (diff) | |
| download | homebrew-eb1a567eb6035f25c83b17f2a1322e3d87c924bd.tar.bz2 | |
youtube-dl 2014.04.21.6
Diffstat (limited to 'Library/Formula/youtube-dl.rb')
| -rw-r--r-- | Library/Formula/youtube-dl.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Library/Formula/youtube-dl.rb b/Library/Formula/youtube-dl.rb index 1485011e5..efb364aa5 100644 --- a/Library/Formula/youtube-dl.rb +++ b/Library/Formula/youtube-dl.rb @@ -1,20 +1,20 @@ -require 'formula' +require "formula" +# Please only update to versions that are published on PyPi as there are too +# many releases for us to update to every single one: +# https://pypi.python.org/pypi/youtube_dl class YoutubeDl < Formula - homepage 'http://rg3.github.io/youtube-dl/' - # Please only update to versions that are published on PyPi as there are too - # many releases for us to update to every single one: - # https://pypi.python.org/pypi/youtube_dl - url 'https://yt-dl.org/downloads/2014.04.04.7/youtube-dl-2014.04.04.7.tar.gz' - sha1 '5f1b62eb5760fe98c0430033db83bb090f5ee9ad' + homepage "http://rg3.github.io/youtube-dl/" + url "https://yt-dl.org/downloads/2014.04.21.6/youtube-dl-2014.04.21.6.tar.gz" + sha1 "a78288e990b4d9f3708313ba6c53ebc323868527" - depends_on 'rtmpdump' => :optional + depends_on "rtmpdump" => :optional def install system "make", "youtube-dl", "PREFIX=#{prefix}" - bin.install 'youtube-dl' - man1.install 'youtube-dl.1' - bash_completion.install 'youtube-dl.bash-completion' + bin.install "youtube-dl" + man1.install "youtube-dl.1" + bash_completion.install "youtube-dl.bash-completion" end def caveats @@ -22,6 +22,6 @@ class YoutubeDl < Formula end test do - system "#{bin}/youtube-dl", '--simulate', 'http://www.youtube.com/watch?v=he2a4xK8ctk' + system "#{bin}/youtube-dl", "--simulate", "http://www.youtube.com/watch?v=he2a4xK8ctk" end end |
