commit: 24eed2e4fca99efad3ae48d4ce1693c25aea5cba Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Thu Mar 12 10:14:31 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 14 14:48:18 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24eed2e4
app-crypt/age: install all tools and manpages Build the binaries into a subdir and install all the files in it. The same way, install all manpages and hmtl from doc. Closes: https://bugs.gentoo.org/971043 Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://codeberg.org/gentoo/gentoo/pulls/303 Merges: https://codeberg.org/gentoo/gentoo/pulls/303 Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/age/age-1.3.1-r1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/app-crypt/age/age-1.3.1-r1.ebuild b/app-crypt/age/age-1.3.1-r1.ebuild new file mode 100644 index 000000000000..1db7c0dec5f7 --- /dev/null +++ b/app-crypt/age/age-1.3.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A simple, modern and secure encryption tool (and Go library)" +HOMEPAGE="https://github.com/FiloSottile/age" +SRC_URI="https://github.com/FiloSottile/age/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~graaff/age/${P}-deps.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +src_prepare() { + default + mkdir bin || die +} + +src_compile() { + ego build -ldflags "-X main.Version=${PV}" -o bin filippo.io/age/cmd/... +} + +src_test() { + ego test filippo.io/age/cmd/... +} + +src_install() { + dobin bin/* + doman doc/*.1 + + local DOCS=( README.md ) + local HTML_DOCS=( doc/*.html ) + einstalldocs +}
