diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /app-admin/helm/helm-3.8.1.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'app-admin/helm/helm-3.8.1.ebuild')
-rw-r--r-- | app-admin/helm/helm-3.8.1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/helm/helm-3.8.1.ebuild b/app-admin/helm/helm-3.8.1.ebuild new file mode 100644 index 000000000000..35d1fd25927c --- /dev/null +++ b/app-admin/helm/helm-3.8.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit bash-completion-r1 go-module +GIT_COMMIT=5cb9af4b1b271d11d7a97a71df3ac337dd94ad37 +GIT_SHA=5cb9af4b +MY_PV=${PV/_rc/-rc.} + +DESCRIPTION="Kubernetes Package Manager" +HOMEPAGE="https://github.com/helm/helm https://helm.sh" +SRC_URI="https://github.com/helm/helm/archive/v${MY_PV}.tar.gz -> k8s-${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT=" test" + +src_compile() { + emake \ + GOFLAGS="${GOFLAGS}" \ + LDFLAGS="" \ + GIT_COMMIT=${GIT_COMMIT} \ + GIT_SHA=${GIT_SHA} \ + GIT_TAG=v${MY_PV} \ + GIT_DIRTY=clean \ + build + bin/${PN} completion bash > ${PN}.bash || die + bin/${PN} completion zsh > ${PN}.zsh || die +} + +src_install() { + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} + + dobin bin/${PN} + dodoc README.md +} |