meta-virtualization/recipes-devtools/go/go-metalinter_git.bb
Bruce Ashfield be0039855f devtools: adapt to UNPACKDIR changes
This commit updates the container recipes to the OE core UNPACKDIR
changes.

  - We drop references to WORKDIR
  - We adjust destsuffix fetches to use BB_GIT_DEFAULT_DESTSUFFIX
    instead of 'git'
  - Update our GOPATH references to use UNPACKDIR
  - Drop S = assignemnts where possible

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-06-25 22:55:55 -04:00

23 lines
606 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;protocol=https"
SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5"
PV = "0.0+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}/*"