meta-wayland/recipes-gtk/nwg-shell/gopsuinfo_git.bb
2021-10-10 07:20:36 +02:00

20 lines
467 B
BlitzBasic

SUMMARY = "Go version of the psuinfo python script."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=22ed6cb3c33862e689e075b45066a779"
GO_IMPORT = "github.com/nwg-piotr/gopsuinfo.git"
SRC_URI = "git://${GO_IMPORT};branch=main"
SRCREV = "838b4893f48924bb03f5124701754836562d090a"
inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install:append() {
# remove precompiled x86 binary
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
}