mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
34 lines
790 B
Bash
34 lines
790 B
Bash
# Copyright 2023-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit shell-completion
|
|
|
|
DESCRIPTION="Infrastructure as code in any programming language"
|
|
HOMEPAGE="
|
|
https://www.pulumi.com/
|
|
https://github.com/pulumi/pulumi
|
|
"
|
|
SRC_URI="
|
|
amd64? ( https://github.com/pulumi/pulumi/releases/download/v${PV}/pulumi-v${PV}-linux-x64.tar.gz )
|
|
"
|
|
|
|
S="${WORKDIR}/pulumi"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
QA_PREBUILT="*"
|
|
|
|
src_install() {
|
|
dobin pulumi*
|
|
|
|
./pulumi gen-completion bash > pulumi.bash-completion || die "Cannot generate bash completions"
|
|
newbashcomp pulumi.bash-completion pulumi
|
|
|
|
./pulumi gen-completion zsh > pulumi.zsh-completion || die "Cannot generate zsh completions"
|
|
newzshcomp pulumi.zsh-completion _pulumi
|
|
}
|