commit: a578ab60c98db1bea52877afa5f813a8c1e2fd72 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Fri Apr 22 13:00:45 2016 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Fri Apr 22 13:00:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a578ab60
net-misc/youtube-dl: Add zsh completion (bug #533672 by Elias Probst), fish completion. Package-Manager: portage-2.2.28 ...tube-dl-2016.04.19.ebuild => youtube-dl-2016.04.19-r1.ebuild} | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/net-misc/youtube-dl/youtube-dl-2016.04.19.ebuild b/net-misc/youtube-dl/youtube-dl-2016.04.19-r1.ebuild similarity index 94% rename from net-misc/youtube-dl/youtube-dl-2016.04.19.ebuild rename to net-misc/youtube-dl/youtube-dl-2016.04.19-r1.ebuild index 5cf89a1..fc649fc 100644 --- a/net-misc/youtube-dl/youtube-dl-2016.04.19.ebuild +++ b/net-misc/youtube-dl/youtube-dl-2016.04.19-r1.ebuild @@ -80,8 +80,17 @@ src_test() { src_install() { python_domodule youtube_dl dobin bin/${PN} + dodoc README.txt doman ${PN}.1 + newbashcomp ${PN}.bash-completion ${PN} + + insinto /usr/share/zsh/site-functions + newins youtube-dl.zsh _youtube-dl + + insinto /usr/share/fish/completions + doins youtube-dl.fish + python_fix_shebang "${ED}" }