void-packages/srcpkgs/gopls/template

21 lines
596 B
Bash
Raw Normal View History

2019-09-25 16:59:08 +00:00
# Template file for 'gopls'
pkgname=gopls
2020-02-14 15:21:26 +00:00
version=0.3.2
2019-09-25 16:59:08 +00:00
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"
2019-11-12 22:27:23 +00:00
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
2019-09-25 16:59:08 +00:00
license="MIT"
homepage="https://github.com/golang/tools"
distfiles="https://github.com/golang/tools/archive/gopls/v${version}.tar.gz"
2020-02-14 15:21:26 +00:00
checksum=e762dfb20f356627cb0beac2b85846bd1c10d916eaf0b3b3a9f49ad09adf9cca
2019-09-25 16:59:08 +00:00
post_install() {
vlicense LICENSE
vdoc gopls/README.md
vcopy gopls/doc usr/share/doc/${pkgname}
}