# Template file for 'git-lfs'
pkgname=git-lfs
version=3.7.1
revision=1
build_style=go
go_import_path="github.com/git-lfs/git-lfs/v3"
hostmakedepends="git ruby-asciidoctor"
short_desc="Git extension for versioning large files"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://git-lfs.github.com/"
changelog="https://raw.githubusercontent.com/git-lfs/git-lfs/main/CHANGELOG.md"
distfiles="https://github.com/git-lfs/git-lfs/archive/v${version}.tar.gz"
checksum=0e83566a9e2477e03627e7fd6bf81f01fadbf93dcaf6abd2686fca90f6bac7dd

post_build() {
	VERSION="${version}" make man
}

post_install() {
	vlicense LICENSE.md
	for page in man/man*/*; do
		vman $page
	done
}
