20 lines
596 B
Bash
20 lines
596 B
Bash
# Template file for 'gopls'
|
|
pkgname=gopls
|
|
version=0.4.1
|
|
revision=1
|
|
wrksrc=tools-gopls-v${version}
|
|
build_style=go
|
|
go_import_path=golang.org/x/tools/gopls
|
|
hostmakedepends="git"
|
|
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=da0594c469cb558f8059dd8edaf9fd662310ec4bc7ae41bb9b0a7266501472ad
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc gopls/README.md
|
|
vcopy gopls/doc usr/share/doc/${pkgname}
|
|
}
|