meta-wayland/recipes-gtk/nwg-shell/gopsuinfo_git.bb
2021-11-23 17:16:27 +01:00

20 lines
482 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;protocol=https"
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
}