From 7afd76de86c0ba731e956aed2e97962eeeda177e Mon Sep 17 00:00:00 2001 From: Gregor Feierabend Date: Sat, 25 Jul 2026 20:18:51 +0100 Subject: [PATCH] net-mail/goimapnotify: Changed upstream source to Radicle repository Signed-off-by: Gregor Feierabend --- .../goimapnotify/goimapnotify-2.5.6-r1.ebuild | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 net-mail/goimapnotify/goimapnotify-2.5.6-r1.ebuild diff --git a/net-mail/goimapnotify/goimapnotify-2.5.6-r1.ebuild b/net-mail/goimapnotify/goimapnotify-2.5.6-r1.ebuild new file mode 100644 index 0000000000..4fbc78e045 --- /dev/null +++ b/net-mail/goimapnotify/goimapnotify-2.5.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module git-r3 + +DESCRIPTION="Execute scripts on IMAP mailbox changes using IDLE, golang version." + +EGIT_REPO_URI="https://jardin.jorgearaya.dev/z39RJHSHs166S5kr8Qstj6kd1LFah.git" +EGIT_COMMIT="251292f1544bf3c69ae6c8a325beb2930d6509b2" + +HOMEPAGE="https://radicle.network/nodes/jardin.jorgearaya.dev/rad:z39RJHSHs166S5kr8Qstj6kd1LFah" + +LICENSE="GPL-3 MIT MPL-2.0 BSD BSD-2 Apache-2.0" + +KEYWORDS="~amd64" + +SLOT="0" + +src_unpack() { + git-r3_src_unpack + go-module_live_vendor +} + +src_compile() { + GIT_COMMIT=$(git rev-parse HEAD) + GIT_TAG="2.5.6" + GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD) + + LDFLAGS="-X main.commit=${GIT_COMMIT} -X main.gittag=${GIT_TAG} -X main.branch=${GIT_BRANCH}" + + ego build -ldflags "${LDFLAGS}" -gcflags '-N -l' ./cmd/goimapnotify +} + +src_install() { + dobin goimapnotify +}