# Template file for 'gopls'
pkgname=gopls
version=0.13.2
revision=2
build_wrksrc=gopls
build_style=go
go_import_path=golang.org/x/tools/gopls
short_desc="Official language server for the Go language"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/golang/tools/tree/master/gopls"
distfiles="https://github.com/golang/tools/archive/refs/tags/gopls/v${version}.tar.gz"
checksum=fa8a5d38c1e040686fda6018c3456801229d6ed992b6eecfbaba146e1fc772b2

post_install() {
	vlicense ../LICENSE
	vlicense ../PATENTS
	vdoc README.md
	vcopy doc usr/share/doc/${pkgname}
}
