summaryrefslogtreecommitdiff
path: root/net-mail/goimapnotify
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-20 03:01:54 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-20 03:01:54 -0500
commitb8e997d669f2779a6f954a9ce5cfb887d0ee91e8 (patch)
treec20220a94b4fc7a65b110c2ab41765671acc5530 /net-mail/goimapnotify
parentfd47b082ab0da4bc79447a8e2bfb7e77dd71874d (diff)
downloadbaldeagleos-repo-b8e997d669f2779a6f954a9ce5cfb887d0ee91e8.tar.gz
baldeagleos-repo-b8e997d669f2779a6f954a9ce5cfb887d0ee91e8.tar.xz
baldeagleos-repo-b8e997d669f2779a6f954a9ce5cfb887d0ee91e8.zip
Adding metadata
Diffstat (limited to 'net-mail/goimapnotify')
-rw-r--r--net-mail/goimapnotify/Manifest2
-rw-r--r--net-mail/goimapnotify/goimapnotify-2.5.5.ebuild35
-rw-r--r--net-mail/goimapnotify/goimapnotify-9999.ebuild35
-rw-r--r--net-mail/goimapnotify/metadata.xml14
4 files changed, 86 insertions, 0 deletions
diff --git a/net-mail/goimapnotify/Manifest b/net-mail/goimapnotify/Manifest
new file mode 100644
index 000000000000..380b0417afae
--- /dev/null
+++ b/net-mail/goimapnotify/Manifest
@@ -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
diff --git a/net-mail/goimapnotify/goimapnotify-2.5.5.ebuild b/net-mail/goimapnotify/goimapnotify-2.5.5.ebuild
new file mode 100644
index 000000000000..fe9e5df5c680
--- /dev/null
+++ b/net-mail/goimapnotify/goimapnotify-2.5.5.ebuild
@@ -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/${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
+}
diff --git a/net-mail/goimapnotify/goimapnotify-9999.ebuild b/net-mail/goimapnotify/goimapnotify-9999.ebuild
new file mode 100644
index 000000000000..c66963c76fba
--- /dev/null
+++ b/net-mail/goimapnotify/goimapnotify-9999.ebuild
@@ -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 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"
+
+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
+}
diff --git a/net-mail/goimapnotify/metadata.xml b/net-mail/goimapnotify/metadata.xml
new file mode 100644
index 000000000000..c072d4320c4b
--- /dev/null
+++ b/net-mail/goimapnotify/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/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>
+ <changelog>https://gitlab.com/shackra/goimapnotify/-/blob/master/CHANGELOG.md</changelog>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>