summaryrefslogtreecommitdiff
path: root/sys-auth/kubectl-passman/kubectl-passman-1.2.3.ebuild
blob: b412c81c72c3c9020254cf24d911326cecb11826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit go-module

DESCRIPTION="The missing link/glue between common password managers and kubectl"
HOMEPAGE="https://github.com/chrisns/kubectl-passman"
BDEPEND=">=dev-lang/go-1.12"
SRC_URI="https://github.com/chrisns/kubectl-passman/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://share.terinstock.com/${P}-deps.tar.xz "

LICENSE="MIT"
LICENSE+=" BSD-2 "
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	ego build -ldflags "-X main.VERSION=${PV}" .
}

src_test() {
	ego test ./...
}

src_install() {
	dosbin kubectl-passman
}