mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
22 lines
674 B
Bash
22 lines
674 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit bash-completion-r1
|
|
|
|
DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
|
|
HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/"
|
|
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install \
|
|
completionsdir="$(get_bashcompdir)" \
|
|
helpersdir="$(get_bashhelpersdir)" \
|
|
compatdir="${EPREFIX}/etc/bash_completion.d"
|
|
}
|