void-packages/srcpkgs/git-lfs/template

26 lines
700 B
Bash

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