void-packages/srcpkgs/git-lfs/template

26 lines
700 B
Bash

# Template file for 'git-lfs'
pkgname=git-lfs
version=3.4.0
revision=2
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=fa93f65cc5c15b96037a72cf243bc2cc04c94ea5cccc346664425d6d4bac66c2
post_build() {
VERSION="${version}" make man
}
post_install() {
vlicense LICENSE.md
for page in man/man*/*; do
vman $page
done
}