# Template file for 'gopls'
pkgname=gopls
version=0.8.2
revision=1
wrksrc=tools-gopls-v${version}
build_wrksrc=gopls
build_style=go
go_import_path=golang.org/x/tools/gopls
short_desc="Official language server for the Go language"
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
license="MIT"
homepage="https://github.com/golang/tools"
distfiles="https://github.com/golang/tools/archive/gopls/v${version}.tar.gz"
checksum=761aa768e82a958e6f803db39215c995fe0f263df825ed1cbb9f6b2989f0cd00

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