mps-youtube: update resource youtube_dl
=======================================
In response to a test failure
https://bot.brew.sh/job/Homebrew/job/homebrew-core/job/PR-12389/4/testReport/junit/brew-test-bot/sierra/test_mps_youtube/.
Set up Homebrew tap
===================
To set up a [Homebrew tap](https://github.com/Homebrew/brew/blob/master/docs/How-to-Create-and-Maintain-a-Tap.md), create a repository at jarun/homebrew-nnn, place the single file `nnn.rb` in it:
```rb
class Nnn < Formula
desc "Free, fast, friendly file browser"
homepage "https://github.com/jarun/nnn"
url "https://github.com/jarun/nnn/archive/v1.0.tar.gz"
sha256 "dd33f1001a87a427f10b6468db7dcba0bdc19643f121dbf6bb8655d5f2d3bac5"
def install
# Remove when Makefile is fixed
inreplace "Makefile", "$(PREFIX)/man", "$(PREFIX)/share/man"
system "make", "install", "PREFIX=#{prefix}"
end
test do
touch "foobar"
# Testing this curses app requires a pty
require "pty"
PTY.spawn(bin/"nnn") do |r, w, pid|
w.write "q"
assert_match "foobar", r.read
end
end
end
```
add an optional README if you want to, but Homebrew/Linuxbrew users who just do
```
brew install jarun/nnn
```
won't see the README.
As I said it's trivial :) It will be one short Ruby file similar to https://github.com/Homebrew/homebrew-core/blob/master/Formula/googler.rb, and brief instructions in this repo's README (could be as brief as `brew install jarun/nnn` I wrote above).
You can set up a "tap" as I said in the meantime to make it easier for Mac users to install (it's a difference of `brew install jarun/nnn` vs `brew install nnn` when it's accepted into core). That might or might not help you get to 50 stars sooner.