mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
MYPN="${PN/-/.}"
|
MYPN="${PN/-/.}"
|
||||||
|
|
||||||
|
inherit shell-completion
|
||||||
|
|
||||||
DESCRIPTION="Sparklines for Fish"
|
DESCRIPTION="Sparklines for Fish"
|
||||||
HOMEPAGE="https://github.com/jorgebucaran/spark.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"
|
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 )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
insinto "/usr/share/fish/vendor_completions.d"
|
dofishcomp completions/*
|
||||||
doins completions/*
|
|
||||||
insinto "/usr/share/fish/vendor_functions.d"
|
insinto "/usr/share/fish/vendor_functions.d"
|
||||||
doins functions/*
|
doins functions/*
|
||||||
einstalldocs
|
einstalldocs
|
||||||
|
|||||||
Reference in New Issue
Block a user