# Template file for 'lazygit'
pkgname=lazygit
version=0.44.1
revision=1
build_style=go
go_import_path=github.com/jesseduffield/lazygit
go_ldflags="-X main.version=${version} -X main.buildSource=voidlinux"
make_check_args="-skip=TestIntegration"
depends="git"
short_desc="Simple terminal UI for git commands"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://github.com/jesseduffield/lazygit"
changelog="https://github.com/jesseduffield/lazygit/releases"
distfiles="https://github.com/jesseduffield/lazygit/archive/refs/tags/v${version}.tar.gz"
checksum=02b67d38e07ae89b0ddd3b4917bd0cfcdfb5e158ed771566d3eb81f97f78cc26
make_check_pre="env PATH=/usr/libexec/chroot-git:${PATH}"

post_install() {
	vlicense LICENSE
}
