diff options
author | Jonas Frei <freijon@pm.me> | 2023-04-13 07:35:08 +0200 |
---|---|---|
committer | Jonas Frei <freijon@pm.me> | 2023-04-13 07:35:08 +0200 |
commit | 5e25c825e7ed26da30d9d056d64285bf38617618 (patch) | |
tree | 8df0f90c0088eadcf81713c558c14644639fbc89 /app-portage | |
parent | app-misc/onefetch: Using eclass 'shell-completion', fixed 'debug' USE (diff) | |
download | guru-5e25c825e7ed26da30d9d056d64285bf38617618.tar.gz guru-5e25c825e7ed26da30d9d056d64285bf38617618.tar.bz2 guru-5e25c825e7ed26da30d9d056d64285bf38617618.zip |
app-portage/emlop: Using eclass 'shell-completion', fixed 'debug' USE
Signed-off-by: Jonas Frei <freijon@pm.me>
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/emlop/emlop-0.5.0.ebuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/app-portage/emlop/emlop-0.5.0.ebuild b/app-portage/emlop/emlop-0.5.0.ebuild index 122039c7f..6871fd48d 100644 --- a/app-portage/emlop/emlop-0.5.0.ebuild +++ b/app-portage/emlop/emlop-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2017-2022 Gentoo Authors +# Copyright 2017-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -65,7 +65,7 @@ CRATES=" winapi-x86_64-pc-windows-gnu-0.4.0 " -inherit cargo bash-completion-r1 +inherit cargo shell-completion DESCRIPTION="A fast, accurate, ergonomic emerge.log parser" HOMEPAGE="https://github.com/vincentdephily/emlop" @@ -86,17 +86,15 @@ src_install() { cargo_src_install einstalldocs if use bash-completion; then - ./target/release/emlop complete bash > emlop + ./target/$(usex debug debug release)/emlop complete bash > "${PN}" dobashcomp emlop fi if use zsh-completion; then - ./target/release/emlop complete zsh > _emlop - insinto /usr/share/zsh/site-functions - doins _emlop + ./target/$(usex debug debug release)/emlop complete zsh > "_${PN}" + dozshcomp "_${PN}" fi if use fish-completion; then - ./target/release/emlop complete fish > emlop.fish - insinto /usr/share/fish/vendor_completions.d - doins emlop.fish + ./target/$(usex debug debug release)/emlop complete fish > "${PN}.fish" + dofishcomp "${PN}.fish" fi } |