void-packages/srcpkgs/gopls/template

21 lines
574 B
Bash

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