mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
32 lines
734 B
Bash
32 lines
734 B
Bash
# 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
|
|
}
|