logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 4101003fd63f3dc8242de64abf510647c61b270e
parent 80d4e4d8e78aa78482ba3938071390f7d1df7293
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 17 Feb 2023 18:45:37 +0100

dev-go/go_path: new package, add 0

Diffstat:

Adev-go/go_path/go_path-0.ebuild16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/dev-go/go_path/go_path-0.ebuild b/dev-go/go_path/go_path-0.ebuild @@ -0,0 +1,16 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Define GOPATH to /usr/src/go to install sources of Go libraries" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" + +src_install() { + newenvd - 99gopath <<< "GOPATH=/usr/src/go" +}