commit: e617fdbd9160175afcdc333fc060c5d5aba3562c Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Tue Jan 9 12:24:54 2024 +0000 Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> CommitDate: Tue Jan 9 12:24:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e617fdbd
dev-util/xmake: switch to shell-completion.eclass Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> dev-util/xmake/xmake-2.8.6.ebuild | 10 +++------- dev-util/xmake/xmake-9999.ebuild | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/dev-util/xmake/xmake-2.8.6.ebuild b/dev-util/xmake/xmake-2.8.6.ebuild index 28e4782756..6c3a300383 100644 --- a/dev-util/xmake/xmake-2.8.6.ebuild +++ b/dev-util/xmake/xmake-2.8.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit bash-completion-r1 optfeature +inherit optfeature shell-completion DESCRIPTION="A cross-platform build utility based on Lua" HOMEPAGE="https://xmake.io" @@ -59,12 +59,8 @@ src_install() { newbashcomp xmake/scripts/completions/register-completions.bash xmake bashcomp_alias xmake xrepo - - insinto /usr/share/zsh/site-functions - newins xmake/scripts/completions/register-completions.zsh xmake.zsh - - insinto /usr/share/fish/vendor_completions.d - newins xmake/scripts/completions/register-completions.fish xmake.fish + newzshcomp xmake/scripts/completions/register-completions.zsh _xmake + newfishcomp xmake/scripts/completions/register-completions.fish xmake.fish } pkg_postinst() { diff --git a/dev-util/xmake/xmake-9999.ebuild b/dev-util/xmake/xmake-9999.ebuild index 28e4782756..6c3a300383 100644 --- a/dev-util/xmake/xmake-9999.ebuild +++ b/dev-util/xmake/xmake-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit bash-completion-r1 optfeature +inherit optfeature shell-completion DESCRIPTION="A cross-platform build utility based on Lua" HOMEPAGE="https://xmake.io" @@ -59,12 +59,8 @@ src_install() { newbashcomp xmake/scripts/completions/register-completions.bash xmake bashcomp_alias xmake xrepo - - insinto /usr/share/zsh/site-functions - newins xmake/scripts/completions/register-completions.zsh xmake.zsh - - insinto /usr/share/fish/vendor_completions.d - newins xmake/scripts/completions/register-completions.fish xmake.fish + newzshcomp xmake/scripts/completions/register-completions.zsh _xmake + newfishcomp xmake/scripts/completions/register-completions.fish xmake.fish } pkg_postinst() {
