24 lines
587 B
Bash
24 lines
587 B
Bash
# Template file for 'revive'
|
|
pkgname=revive
|
|
version=1.2.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/"
|
|
distfiles="https://github.com/mgechev/revive/archive/v$version.tar.gz"
|
|
checksum=47e9f371e934fe4dfce44098fd54a0aaeaa47079184a14ad263990a24fab1b35
|
|
|
|
do_check() {
|
|
go test -v ./...
|
|
}
|
|
|
|
post_install() {
|
|
vdoc RULES_DESCRIPTIONS.md
|
|
vdoc README.md
|
|
vlicense LICENSE
|
|
}
|