diff options
author | Jonas Frei <freijon@pm.me> | 2023-08-01 20:31:06 +0200 |
---|---|---|
committer | Jonas Frei <freijon@pm.me> | 2023-08-01 20:32:21 +0200 |
commit | 8e223fab305f03c56fe1517229cc4041a287ddbe (patch) | |
tree | 210551695e290199ab997e2fb55912420da80a32 /net-mail | |
parent | app-admin/chezmoi: add 2.36.1, drop 2.35.2 (diff) | |
download | guru-8e223fab305f03c56fe1517229cc4041a287ddbe.tar.gz guru-8e223fab305f03c56fe1517229cc4041a287ddbe.tar.bz2 guru-8e223fab305f03c56fe1517229cc4041a287ddbe.zip |
net-mail/pop: new package, add 0.2.0
Signed-off-by: Jonas Frei <freijon@pm.me>
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/pop/Manifest | 2 | ||||
-rw-r--r-- | net-mail/pop/metadata.xml | 12 | ||||
-rw-r--r-- | net-mail/pop/pop-0.2.0.ebuild | 35 |
3 files changed, 49 insertions, 0 deletions
diff --git a/net-mail/pop/Manifest b/net-mail/pop/Manifest new file mode 100644 index 000000000..a56727d67 --- /dev/null +++ b/net-mail/pop/Manifest @@ -0,0 +1,2 @@ +DIST pop-0.2.0-deps.tar.xz 30638132 BLAKE2B b672b33c7e20a74f62eb8f0f67b51ea6a2f9c817fb512808638288c162090d27651c6c463ce8605cb80bb1c71e4822aa7b194cc2d2928fc9f1ef7f3b636b5564 SHA512 78b6446897aa8e02e045b921ca5abdcbcc74af980105fc1711cc46ee16cb6880f4488a78140f172039a67b4de421c842c5813041164314b535076c575b294d00 +DIST pop-0.2.0.tar.gz 18853 BLAKE2B 7d59db09b5593de39f61fec4a8c0d433ed0e65993fa0b6ca25e79b7dc2fbee210a852f742ed3ce967e89d1d2c85546366128a73d2102b92795180f3ab84e6e8a SHA512 396c69ca1e5cec2456cdc420594ef9143c27d12567afbae1beb22acc063bfcc1e4ccac3aa80233c2f057916771de1ccae557b5909c77c4de39df90852e7faa81 diff --git a/net-mail/pop/metadata.xml b/net-mail/pop/metadata.xml new file mode 100644 index 000000000..d75171cf9 --- /dev/null +++ b/net-mail/pop/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>freijon@pm.me</email> + <name>Jonas Frei</name> + </maintainer> + <upstream> + <remote-id type="github">charmbracelet/pop</remote-id> + <bugs-to>https://github.com/charmbracelet/pop/issues</bugs-to> + </upstream> +</pkgmetadata> diff --git a/net-mail/pop/pop-0.2.0.ebuild b/net-mail/pop/pop-0.2.0.ebuild new file mode 100644 index 000000000..568ac0098 --- /dev/null +++ b/net-mail/pop/pop-0.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Send emails from your terminal" +HOMEPAGE="https://github.com/charmbracelet/pop" +SRC_URI="https://github.com/charmbracelet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html +DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/uploads/7f29f486dd58e399fd05ca93587660c5/${P}-deps.tar.xz" +SRC_URI+=" ${DEPS_URI}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-lang/go +" + +src_compile() { + ego build . +} + +src_install() { + dobin ${PN} + dodoc "README.md" + default +} |