Install this version:
emerge -a =net-mail/goimapnotify-2.5.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-mail/goimapnotify-2.5.6
Or alternatively:
emerge --autounmask-write -a =net-mail/goimapnotify-2.5.6
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.5.6 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Execute scripts on IMAP mailbox changes using IDLE, golang version"
HOMEPAGE="https://gitlab.com/shackra/goimapnotify"
SRC_URI="
https://gitlab.com/shackra/goimapnotify/-/archive/${PV}/${P}.tar.gz
https://github.com/gentoo-golang-dist/goimapnotify/releases/download/${PV}/${P}-vendor.tar.xz
"
LICENSE="GPL-3 MIT MPL-2.0 BSD BSD-2 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
GIT_COMMIT=$(gunzip < "${DISTDIR}/${P}.tar.gz" | git get-tar-commit-id)
GIT_TAG="${PV}"
GIT_BRANCH="master"
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
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | goimapnotify-2.5.6-vendor.tar.xz | 984188 bytes | https://github.com/gentoo-golang-dist/goimapnotify/releases/download/2.5.6/goimapnotify-2.5.6-vendor.tar.xz |
| DIST | goimapnotify-2.5.6.tar.gz | 68447 bytes | https://gitlab.com/shackra/goimapnotify/-/archive/2.5.6/goimapnotify-2.5.6.tar.gz |