# Template file for 'lazygit'
pkgname=lazygit
version=0.62.2
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=0bd1cdbaf1a584d2eb2fd14f068a8eaaeaeb80d3e2713c72005de9e4feaf6844
make_check_pre="env PATH=/usr/libexec/chroot-git:${PATH}"

post_install() {
	vlicense LICENSE
}
