33 lines
604 B
Bash
33 lines
604 B
Bash
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
require github [ user='mattn' tag="v${PV}" ]
|
|
|
|
SUMMARY="General purpose Language Server"
|
|
|
|
LICENCES="MIT"
|
|
SLOT="0"
|
|
PLATFORMS="~amd64 ~x86"
|
|
MYOPTIONS=""
|
|
|
|
DEPENDENCIES="
|
|
build:
|
|
dev-lang/go
|
|
"
|
|
|
|
BUGS_TO="hasufell@posteo.de"
|
|
|
|
src_compile() {
|
|
export GOPATH="${WORK}"/.gopath
|
|
export GOBIN="${WORK}"/.bin
|
|
esandbox disable_net
|
|
edo go get ./...
|
|
edo go build
|
|
esandbox enable_net
|
|
}
|
|
|
|
src_install() {
|
|
newbin efm-langserver-${PV} efm-langserver
|
|
emagicdocs
|
|
}
|