# Copyright 2026 Shin'ya Minazuki EAPI=8 inherit go-module optfeature DESCRIPTION="Developer-oriented health dashboard for monitoring services (modified)" HOMEPAGE="https://github.com/TWiN/gatus" SRC_URI=" https://distfiles.chaotic.ninja/pub/${PN}/${P}.tar.gz https://distfiles.chaotic.ninja/pub/${PN}/${P}-deps.tar.gz " # Per licensing terms, modified copies should not have the same name # as the upstream project, but it is not like I can do anything # about it, this isn't a fork. LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" DEPEND="${RDEPEND}" RDEPEND=" acct-group/gatus acct-user/gatus " RESTRICT="mirror" src_compile() { ego build -v -o "${PN}" -x } src_install() { newinitd "${FILESDIR}/gatus.initd-r0" "${PN}" dobin "${PN}" insinto "/etc/gatus" doins config.yaml fowners -R gatus:gatus "/etc/gatus" } pkg_postinst() { optfeature "Alternative to SQLite" "dev-db/postgresql" }