commit:     7a53b7e385554fa0de85d799af365ec1f8ba71b1
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Feb 23 14:39:33 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Feb 23 14:39:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a53b7e3

media-video/trakt-scrobbler: install zsh completions

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild 
b/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild
index cd9dc863d..186dd58c8 100644
--- a/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild
+++ b/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild
@@ -34,6 +34,13 @@ python_test(){
        eunittest tests/
 }
 
+python_install() {
+       distutils-r1_python_install
+
+       insinto "/usr/share/zsh/site-functions"
+       newins "${S}/completions/trakts.zsh" "_trakts"
+}
+
 pkg_postinst() {
        optfeature "start at boot support (see the trakts autostart command)" 
sys-apps/systemd
 }

Reply via email to