22 lines
605 B
Bash
22 lines
605 B
Bash
# Template file for 'gopls'
|
|
pkgname=gopls
|
|
version=0.7.0
|
|
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=443476a0158195be302d7a0be2f4a0751780412d8fa411ac52017834c363664f
|
|
|
|
post_install() {
|
|
vlicense ../LICENSE
|
|
vlicense ../PATENTS
|
|
vdoc README.md
|
|
vcopy doc usr/share/doc/${pkgname}
|
|
}
|