mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Signed-off-by: Hendrik Klug <hendrik.klug@gmail.com> Part-of: https://github.com/gentoo/guru/pull/328 Closes: https://github.com/gentoo/guru/pull/328 Signed-off-by: Vivian Heisz (vhz) <demize@unstable.systems>
26 lines
519 B
Bash
26 lines
519 B
Bash
# 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
|
|
}
|