void-packages/srcpkgs/revive/template

23 lines
520 B
Bash

# Template file for 'revive'
pkgname=revive
version=1.0.5
revision=1
build_style=go
go_import_path="github.com/mgechev/revive"
short_desc="Drop-in replacement for golint"
maintainer="Paper <paper@tilde.institute>"
license="MIT"
homepage="https://revive.run/"
distfiles="https://github.com/mgechev/revive/archive/v$version.tar.gz"
checksum=9569e25a889dc546bead5ee8616002799ae13fd50860f51388ad2e3d3e55ceaa
do_check() {
go test -v ./...
}
post_install() {
vdoc RULES_DESCRIPTIONS.md
vdoc README.md
vlicense LICENSE
}