dev-vcs/lazygit - 0.40.2 (cova)

Search

Package Information

Description:
A simple terminal UI for git commands, written in Go with the gocui library
Homepage:
https://github.com/jesseduffield/lazygit
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.40.2 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A simple terminal UI for git commands, written in Go with the gocui library"
HOMEPAGE="https://github.com/jesseduffield/lazygit"
SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
BUILD_SOURCE="Gentoo-cova-overlay"
BUILD_COMMIT="5e388e2"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"

DEPEND=( sys-apps/coreutils )
RDEPEND=(
	dev-vcs/git
)

DOCS=( docs LICENSE {README,CONTRIBUTING}.md )

src_compile() {
	export CGO_ENABLED=0
	gox \
		-os=$(go env GOOS) \
		-arch=$(go env GOARCH) \
		-output lazygit \
    -ldflags "-X main.version=${PV} -X main.date=$(date -I -u) -X main.commit=${BUILD_COMMIT} -X main.buildSource=${BUILD_SOURCE}" \
		-verbose \
		. || die
}

src_install() {
	dobin lazygit
	einstalldocs
}

USE Flags

doc

Dependencies

DEPEND

( sys-apps/coreutils )

RDEPEND

(
	dev-vcs/git
)

Manifest for 0.40.2

Type File Size Source URLs
DIST lazygit-0.40.2.tar.gz 4468039 bytes https://github.com/jesseduffield/lazygit/archive/v0.40.2.tar.gz