# Copyright 2020-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module _COMMIT="d3627feb2bdab93f1922881828555d3ef784f327" DESCRIPTION="MQTT actions daemon" HOMEPAGE="https://github.com/thkukuk/mqtt-actions" BDEPEND=">=dev-lang/go-1.24.0" SRC_URI="https://github.com/thkukuk/mqtt-actions/archive/${_COMMIT}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz" S="${WORKDIR}/mqtt-actions-${_COMMIT}" LICENSE="Apache-2.0" LICENSE+=" EPL-2.0 BSD-2 BSD MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" src_compile() { ego build ./cmd/mqtt-actions } src_test() { ego test ./... } src_install() { dobin mqtt-actions }