summaryrefslogtreecommitdiff
path: root/app-shells/direnv/direnv-9999.ebuild
blob: 31233b9fc3a0c41f617b706cb7e250e0421e0d33 (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

EGIT_REPO_URI="https://github.com/direnv/${PN}.git"

inherit git-r3 go-module

DESCRIPTION="Environment variable manager for shell"
HOMEPAGE="https://github.com/direnv/direnv"

LICENSE="MIT"
SLOT="0"
RESTRICT="test" # fails

# Upstream requires Go >=1.24
BDEPEND+=">=dev-lang/go-1.24:="

DOCS=( {CHANGELOG,README}.md )

src_install() {
	einstalldocs
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}