void-packages/srcpkgs/gopls/template

21 lines
603 B
Bash

# Template file for 'gopls'
pkgname=gopls
version=0.10.1
revision=1
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/tree/master/gopls"
distfiles="https://github.com/golang/tools/archive/refs/tags/gopls/v${version}.tar.gz"
checksum=31ad2f8fb817dab13055735ac909c7058f01d5c0c270fd7df5c6dc9050233bdc
post_install() {
vlicense ../LICENSE
vlicense ../PATENTS
vdoc README.md
vcopy doc usr/share/doc/${pkgname}
}