summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-04-22 15:00:45 +0200
committerJeroen Roovers <jer@gentoo.org>2016-04-22 15:00:45 +0200
commita578ab60c98db1bea52877afa5f813a8c1e2fd72 (patch)
treec7b34d49439ee5675ad91de7419611e9c5cb43a9 /net-misc/youtube-dl
parentsys-process/procenv: Mark ~ppc64 too. (diff)
downloadgentoo-a578ab60c98db1bea52877afa5f813a8c1e2fd72.tar.gz
gentoo-a578ab60c98db1bea52877afa5f813a8c1e2fd72.tar.bz2
gentoo-a578ab60c98db1bea52877afa5f813a8c1e2fd72.zip
net-misc/youtube-dl: Add zsh completion (bug #533672 by Elias Probst), fish completion.
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-misc/youtube-dl')
-rw-r--r--net-misc/youtube-dl/youtube-dl-2016.04.19-r1.ebuild (renamed from net-misc/youtube-dl/youtube-dl-2016.04.19.ebuild)9
1 files changed, 9 insertions, 0 deletions
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
index 5cf89a1891a3..fc649fc0bca0 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}"
}