hasufell-repository/packages/app-editors/efm-langserver/efm-langserver-0.0.2.exheres-0

33 lines
604 B
Bash
Raw Permalink Normal View History

# 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() {
2020-01-11 11:05:41 +00:00
export GOPATH="${WORK}"/.gopath
export GOBIN="${WORK}"/.bin
esandbox disable_net
edo go get ./...
edo go build
2020-01-11 11:05:41 +00:00
esandbox enable_net
}
src_install() {
newbin efm-langserver-${PV} efm-langserver
emagicdocs
}