21 lines
588 B
Bash
21 lines
588 B
Bash
# Template file for 'gopls'
|
|
pkgname=gopls
|
|
version=0.1.7
|
|
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@renag.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/golang/tools"
|
|
distfiles="https://github.com/golang/tools/archive/gopls/v${version}.tar.gz"
|
|
checksum=3081a1ec963228baf18063c914ec04916030d87f443126ec8ae56cbc114ef747
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc gopls/README.md
|
|
vcopy gopls/doc usr/share/doc/${pkgname}
|
|
}
|