aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/pulumi-bin/pulumi-bin-3.73.0.ebuild')
-rw-r--r--app-admin/pulumi-bin/pulumi-bin-3.73.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/pulumi-bin/pulumi-bin-3.73.0.ebuild b/app-admin/pulumi-bin/pulumi-bin-3.73.0.ebuild
new file mode 100644
index 000000000..8e5eb8e90
--- /dev/null
+++ b/app-admin/pulumi-bin/pulumi-bin-3.73.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+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 )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/pulumi"
+
+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"
+ insinto /usr/share/zsh/site-functions
+ newins pulumi.zsh-completion _pulumi
+}