summaryrefslogtreecommitdiff
path: root/app-misc/mqtt-actions/mqtt-actions-0.3.1_p3.ebuild
blob: a69e5db2c40f59d20959d27137cbd3fbe23ef13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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
}