Files
guru/app-crypt/sops/sops-3.9.4.ebuild
Skyler Mäntysaari a3f4038218 app-crypt/sops: add 3.9.4
Signed-off-by: Skyler Mäntysaari <sm+gentoo@skym.fi>
2025-02-01 13:10:58 +02:00

32 lines
681 B
Bash

# Copyright 1999-2024 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/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://samip537.kapsi.fi/gentoo-mirror/sops-${PV}-vendor.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
}