25 lines
642 B
Bash
25 lines
642 B
Bash
# Template file for 'revive'
|
|
pkgname=revive
|
|
version=1.2.4
|
|
revision=2
|
|
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/v$version.tar.gz"
|
|
checksum=bf2439a1a487274b7e37f84394dab87c2418e5396baffd501eb8543889564a2c
|
|
|
|
do_check() {
|
|
go test -v ./...
|
|
}
|
|
|
|
post_install() {
|
|
vdoc RULES_DESCRIPTIONS.md
|
|
vdoc README.md
|
|
vlicense LICENSE
|
|
}
|