net-mail/hydroxide: update 9999

reflect the changes done in the previous commit

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
ingenarel (NeoJesus)
2026-03-28 14:50:08 +06:00
parent 925cda8156
commit 5903a2df35

View File

@@ -1,4 +1,4 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,8 +12,12 @@ else
inherit verify-sig
SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz
verify-sig? ( https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz.sig )
https://github.com/sevz17/go-deps/releases/download/${P}/${P}-deps.tar.xz
https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-go-mod-deps.tar.xz ->
${P}-deps.tar.xz
"
# you can either use -go-mod-deps or -vendor-deps for the file
# vendor-deps are small, but may not work for some packages/version
# go-mod-deps are LARGE, but will most likely always work
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-emersion )"
KEYWORDS="~amd64"
@@ -22,8 +26,12 @@ fi
DESCRIPTION="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
HOMEPAGE="https://github.com/emersion/hydroxide"
LICENSE="MIT BSD"
LICENSE="MIT"
#gentoo-go-license hydroxide-9999.ebuild
LICENSE+=" BSD MIT "
SLOT="0"
BDEPEND+=" >=dev-lang/go-1.24.0"
DOCS=( README.md )
src_unpack() {
if [[ ${PV} == *9999* ]]; then
@@ -38,17 +46,10 @@ src_unpack() {
}
src_compile() {
ego build -v -x -p "$(makeopts_jobs)" ./cmd/hydroxide
ego build -v -x -p "$(get_makeopts_jobs)" ./cmd/hydroxide
}
src_install() {
default
dobin "${PN}"
}
pkg_postinst() {
elog ""
elog "In order to use ${PN} you need to read"
elog "https://github.com/emersion/hydroxide#installing"
elog ""
}