meta-virtualization/recipes-devtools/go/go-metalinter_git.bb
Bruce Ashfield f6a52458e8 global: add explicit branch to all SRC_URIs
As introduced in the oe-core post:

  https://lists.openembedded.org/g/openembedded-core/message/157623

SRC_URIs without an explicit branch will generate warnings, and
eventually be an error.

We run the provided conversion script to make sure that meta-virt
is ready for the change.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-12-03 09:01:33 -05:00

25 lines
621 B
BlitzBasic

DESCRIPTION = "Go Meta Linter."
HOMEPAGE = "https://github.com/alecthomas/gometalinter"
SECTION = "devel/go"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=dee20b35647295553d32faef05846a7b"
BBCLASSEXTEND = "native"
SRCNAME = "gometalinter"
PKG_NAME = "github.com/alecthomas/${SRCNAME}"
SRC_URI = "git://${PKG_NAME}.git;branch=master"
SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5"
PV = "0.0+git${SRCPV}"
S = "${WORKDIR}/git"
do_install() {
install -d ${D}${prefix}/local/go/src/${PKG_NAME}
cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
}
FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"