# Template file for 'gopls'
pkgname=gopls
version=0.21.1
revision=1
build_wrksrc=gopls
build_style=go
go_import_path=golang.org/x/tools/gopls
checkdepends="git"
short_desc="Official language server for the Go language"
maintainer="Bnyro <bnyro@tutanota.com>"
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=af211e00c3ffe44fdf2dd3efd557e580791e09f8dbb4284c917bd120bc3c8f9c

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