guru/dev-vcs/lazygit/lazygit-0.33.ebuild
Anna (cybertailor) Vyalkova c7330b67e3
dev-vcs/lazygit: update LICENSE, deselect tests
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-02-24 12:52:40 +05:00

39 lines
689 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Simple terminal UI for git commands"
HOMEPAGE="https://github.com/jesseduffield/lazygit"
SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 BSD ISC MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-vcs/git"
DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
src_prepare() {
default
# remove failing tests
rm pkg/gui/*_test.go || die
}
src_compile() {
go build -o bin/lazygit || die
}
src_test() {
./test.sh || die
}
src_install() {
dobin bin/lazygit
einstalldocs
}