23 lines
583 B
Bash
23 lines
583 B
Bash
# Template file for 'revive'
|
|
pkgname=revive
|
|
version=1.0.9
|
|
revision=1
|
|
build_style=go
|
|
go_ldflags="-X main.version=$version -X main.builtBy=xbps"
|
|
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/"
|
|
distfiles="https://github.com/mgechev/revive/archive/v$version.tar.gz"
|
|
checksum=5b80b65ca5a76b1d52e66eff5f2f217f11a3f7ec137deeb2314986b45dfcada9
|
|
|
|
do_check() {
|
|
go test -v ./...
|
|
}
|
|
|
|
post_install() {
|
|
vdoc RULES_DESCRIPTIONS.md
|
|
vdoc README.md
|
|
vlicense LICENSE
|
|
}
|