commit: 9c74fca64edc4c16ce6d50a6bcf6049cb48d7b71
Author: Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Apr 13 05:36:21 2023 +0000
Commit: Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Thu Apr 13 05:36:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c74fca6
app-shells/spark-fish: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon <AT> pm.me>
app-shells/spark-fish/spark-fish-1.2.0.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/app-shells/spark-fish/spark-fish-1.2.0.ebuild
b/app-shells/spark-fish/spark-fish-1.2.0.ebuild
index 651498334..f54ad57d4 100644
--- a/app-shells/spark-fish/spark-fish-1.2.0.ebuild
+++ b/app-shells/spark-fish/spark-fish-1.2.0.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MYPN="${PN/-/.}"
+inherit shell-completion
+
DESCRIPTION="Sparklines for Fish"
HOMEPAGE="https://github.com/jorgebucaran/spark.fish"
SRC_URI="https://github.com/jorgebucaran/spark.fish/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
@@ -27,8 +29,7 @@ DOCS=( README.md )
RESTRICT="!test? ( test )"
src_install() {
- insinto "/usr/share/fish/vendor_completions.d"
- doins completions/*
+ dofishcomp completions/*
insinto "/usr/share/fish/vendor_functions.d"
doins functions/*
einstalldocs