dev-util/stripe-cli: add USE bash-completion

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich 2022-08-04 14:39:44 +04:00
parent ed2626d52f
commit 5cc53d402c
No known key found for this signature in database
GPG Key ID: E91CC56723EE101E

View File

@ -11,6 +11,7 @@ DESCRIPTION="A command-line tool for Stripe"
HOMEPAGE="https://stripe.com/docs/stripe-cli"
EGIT_REPO_URI="https://${EGO_PN}.git"
SLOT="0"
IUSE="bash-completion"
LICENSE="Apache-2.0"
BDEPEND=">=dev-lang/go-1.18"
DEPEND="${BDEPEND}"
@ -26,5 +27,8 @@ src_compile() {
src_install() {
dobin ${MY_PN}
if use bash-completion ; then
dobashcomp *.bash
fi
}