net-mail/goimapnotify - 9999 (guru)

Search

Install

Install this version:

emerge -a =net-mail/goimapnotify-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-mail/goimapnotify-9999

Or alternatively:

emerge --autounmask-write -a =net-mail/goimapnotify-9999

Package Information

Description:
Execute scripts on IMAP mailbox changes using IDLE, golang version
Homepage:
https://radicle.network/nodes/jardin.jorgearaya.dev/rad:z39RJHSHs166S5kr8Qstj6kd1LFah
License:
GPL-3 MIT MPL-2.0 BSD BSD-2 Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# 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"

HOMEPAGE="https://radicle.network/nodes/jardin.jorgearaya.dev/rad:z39RJHSHs166S5kr8Qstj6kd1LFah"

LICENSE="GPL-3 MIT MPL-2.0 BSD BSD-2 Apache-2.0"

SLOT="0"

src_unpack() {
	git-r3_src_unpack
	go-module_live_vendor
}

src_compile() {
	GIT_COMMIT=$(git rev-parse HEAD)
	GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)

	LDFLAGS="-X main.commit=${GIT_COMMIT} -X main.branch=${GIT_BRANCH}"

	ego build -ldflags "${LDFLAGS}" -gcflags  '-N -l' ./cmd/goimapnotify
}

src_install() {
	dobin goimapnotify
}

Inherited Eclasses