# Template file for 'revive'
pkgname=revive
version=1.3.6
revision=1
build_style=go
go_ldflags="-X github.com/mgechev/revive/cli.version=$version"
go_import_path="github.com/mgechev/revive"
short_desc="Drop-in replacement for golint"
maintainer="Roberto Ricci <io@r-ricci.it>"
license="MIT"
homepage="https://revive.run/"
changelog="https://github.com/mgechev/revive/releases"
distfiles="https://github.com/mgechev/revive/archive/refs/tags/v${version}.tar.gz"
checksum=64ee2af7820143ec6967b1da3eda641ef74cee071fc7f48d8a0e2e9f272e66d3

do_check() {
	go test -v ./...
}

post_install() {
	vdoc RULES_DESCRIPTIONS.md
	vdoc README.md
	vlicense LICENSE
}
