From 7a53b7e385554fa0de85d799af365ec1f8ba71b1 Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Wed, 23 Feb 2022 15:39:33 +0100 Subject: [PATCH] media-video/trakt-scrobbler: install zsh completions Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto --- 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 cd9dc863db..186dd58c8a 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 }