# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module DESCRIPTION="A command runner with healthchecks.io integration" HOMEPAGE="https://github.com/bdd/runitor/" SRC_URI="https://github.com/bdd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz https://www.inode64.com/dist/${P}-vendor.tar.xz" LICENSE="0BSD" # Dependent licenses LICENSE+=" BSD BSD-2 CC0-1.0" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" src_compile() { ego build -trimpath -ldflags "-X main.Version=v${PV}" ./cmd/${PN} || die } src_test() { ego test ./... || die "test failed" } src_install() { dobin "${PN}" }