23 lines
579 B
Bash
23 lines
579 B
Bash
# Template file for 'revive'
|
|
pkgname=revive
|
|
version=1.0.7
|
|
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="Paper <paper@tilde.institute>"
|
|
license="MIT"
|
|
homepage="https://revive.run/"
|
|
distfiles="https://github.com/mgechev/revive/archive/v$version.tar.gz"
|
|
checksum=281d2ae19edd2b285ad2489a1e6acb7b1f5c713964a6027a5d2d23d376ed0613
|
|
|
|
do_check() {
|
|
go test -v ./...
|
|
}
|
|
|
|
post_install() {
|
|
vdoc RULES_DESCRIPTIONS.md
|
|
vdoc README.md
|
|
vlicense LICENSE
|
|
}
|