void-packages/srcpkgs/vale/template

19 lines
533 B
Bash

# Template file for 'vale'
pkgname=vale
version=2.22.0
revision=1
build_style=go
go_import_path="github.com/errata-ai/vale/v2"
go_package="${go_import_path}/cmd/vale"
go_ldflags=" -X main.version=${version}"
short_desc="Natural language linter"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://vale.sh"
distfiles="https://github.com/errata-ai/vale/archive/refs/tags/v${version}.tar.gz"
checksum=6b0ef559979c60f2bf7d7ac0e73ce1402208a05d0ea33987eb2dca5727db9aa7
post_install() {
vlicense LICENSE
}