mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
app-shells/spark-fish: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user