summaryrefslogtreecommitdiff
path: root/app-crypt/sops/sops-3.12.2.ebuild
blob: d76e537940765830666e1dfb4cda383d5331b1ec (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
29
30
31
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit go-module

DESCRIPTION="Simple And Flexible Tool For Managing Secrets"
HOMEPAGE="https://getsops.io/"
SRC_URI="https://github.com/getsops/sops/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+="  https://git.skysolutions.fi/gentoo-mirror/guru-vendored/releases/download/sops-${PV}/sops-${PV}-deps.tar.xz"
#SRC_URI+=" https://github.com/Arian-D/sops-deps/releases/download/${PV}/${P}-vendor.tar.xz"

LICENSE="MPL-2.0"
SLOT="0"

KEYWORDS="~amd64 ~arm64"

src_compile() {
	ego build
}

src_test() {
	ego test
}

src_install() {
	GOBIN="${S}/bin" ego install ./...
	dobin bin/${PN}
	dodoc README.rst
	default
}