# Template file for 'revive'
pkgname=revive
version=1.3.1
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 <ricci@disroot.org>"
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=b3b8804024cd2aadb0900912560ad8718d5d1fc47fba7d95d281b46a24352267

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

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