net-mail/goimapnotify: new package, add 2.5.5, 9999

Signed-off-by: Gregor Feierabend <gf.devel@pm.me>
This commit is contained in:
Gregor Feierabend committed 2026-06-15 11:16:42 +01:00
1 parent 6f02f72395
commit 5e43fc28b3
4 files changed
+87

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
DIST goimapnotify-2.5.5-vendor.tar.xz 981444 BLAKE2B e6a37f51a0e3c89d16130b19bccfa877aa8b13f2809c3f82b0fbc14195bcb79059d4702588bae7c1926acd669ca7b2583bfe962dd717ee037420d0d1d53e46ca SHA512 07837e68a8777a5b1414ed30927b195ae5c90772132a48756c72c7493348513f67714589728f77e8441136e963bb678f930dad871359c461fd82d59a55eacb77
DIST goimapnotify-2.5.5.tar.gz 64811 BLAKE2B 2a04fdafee0384e4b2725052c6e1b155be0af1db80e780c1015913ef39c173eaeb1c02bc11d3ee015635977b9a0b74372cceec9d5695f8f54b2543fb880b10f6 SHA512 9413819c9316b94153145506f50f96b1b6ad26b13998bff81627a8313f678f8f3f8345dcfeb2f6444c3e138bf70cacb99270f7cb73351f2c8efb91b117e191bd
@@ -0,0 +1,35 @@
# 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/2.5.5/goimapnotify-2.5.5.tar.gz
https://github.com/gentoo-golang-dist/goimapnotify/releases/download/2.5.5/goimapnotify-2.5.5-vendor.tar.xz
"
LICENSE="GPL-3 MIT MPL-2.0 BSD BSD-2 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
GIT_COMMIT="bcc9d8d593ce3e5bf142b641642dbd00487dcd88"
GIT_TAG="2.5.5"
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
}
@@ -0,0 +1,37 @@
# 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://gitlab.com/shackra/goimapnotify.git"
HOMEPAGE="https://gitlab.com/shackra/goimapnotify"
LICENSE="GPL-3 MIT MPL-2.0 BSD BSD-2 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
src_compile() {
GIT_COMMIT=$(git rev-parse HEAD)
GIT_TAG=$(git describe --tags)
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
}
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gf.devel@pm.me</email>
<name>Gregor Feierabend</name>
</maintainer>
<upstream>
<bugs-to>https://gitlab.com/shackra/goimapnotify/-/boards</bugs-to>
<doc>https://gitlab.com/shackra/goimapnotify/-/blob/master/README.md</doc>
<remote-id type="gitlab">shackra/goimapnotify</remote-id>
</upstream>
</pkgmetadata>