void-packages/srcpkgs/revive/template

21 lines
613 B
Bash

# Template file for 'revive'
pkgname=revive
version=1.4.0
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="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://revive.run/"
changelog="https://github.com/mgechev/revive/releases"
distfiles="https://github.com/mgechev/revive/archive/refs/tags/v${version}.tar.gz"
checksum=e5c80b623febb48c1605c4e8ec8cdca08d292cce939213d1dc3c2fb37c7dd10c
post_install() {
vdoc RULES_DESCRIPTIONS.md
vdoc README.md
vlicense LICENSE
}