diff options
author | William Hubbs <williamh@gentoo.org> | 2022-04-03 11:19:10 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-04-03 11:19:22 -0500 |
commit | 09ff218d3b4d95818de1e519fea0ffa721931bcd (patch) | |
tree | 1e7e2d938a56dd0b43a742235829e96e6f3c293a /mail-client | |
parent | dev-python/ipyparallel: 8.2.1 version bump (diff) | |
download | gentoo-09ff218d3b4d95818de1e519fea0ffa721931bcd.tar.gz gentoo-09ff218d3b4d95818de1e519fea0ffa721931bcd.tar.bz2 gentoo-09ff218d3b4d95818de1e519fea0ffa721931bcd.zip |
mail-client/aerc: add 0.9.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/aerc/Manifest | 2 | ||||
-rw-r--r-- | mail-client/aerc/aerc-0.9.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest index 762633d6ddaf..e38567bdae83 100644 --- a/mail-client/aerc/Manifest +++ b/mail-client/aerc/Manifest @@ -1,2 +1,4 @@ DIST aerc-0.8.2-deps.tar.xz 104907184 BLAKE2B d62d64bc58fab72b45db6a557ac23fb61b335a469755f4beb9510c89c17c717147dbc713f86e0c407a95de70b9426ae1aaf9edda1b90814aa596a154b258695a SHA512 2b9b7638012bb212b2bd40ce0f27db54097e9ac714c9724aa59c31c70acc888a01405f2d8180a22973901690e3743042c8d04cd8f75d3b37d95af9ffbd802a33 DIST aerc-0.8.2.tar.gz 173468 BLAKE2B f45ae8a7a56ceaa7a0ecf21edb17d1c613d2dd505d5f3029fc0519c51d7deb4f7ccf3cfa656aff8f7609d109395adc6edc8be7f388c82ad214c182ed6a64b7db SHA512 287f628cce4eee9a308c11319d77396ff43f31b9c608dfeb1f8200935329f03c89bdba03259d22857aea6e80c4c664362006c0aee630586ed168e3049e4dfbaf +DIST aerc-0.9.0-deps.tar.xz 117828944 BLAKE2B 9d5e8561ecc4cae5568655cfb8491b970a0ff8640d35f0d1ae6493ed1d59fc03051556526c2699afea5b27ddb8f25c948fdd5115695935977e5e09fffb1df02a SHA512 7f66ad4124d4da9a295aa096105e4bef2487c393e7b0299fc0da3aacb8dc87cab2b34057419a9ae4f18c3e1385725fc31bae640325b99957782f0aa3eef51e12 +DIST aerc-0.9.0.tar.gz 184022 BLAKE2B 5555523228d08361434690c6c565746408ac50061ee12fc9983c0831beac8d4badc6196a5f3186f3a7c5e63b3eaae51f9af230804e093dd87f425412c5877541 SHA512 5821a35bc9c893ac800532b24cce0dcee5113fe41cce057e3ce952c7d7e9add680cbb11b4700cc8896d852817534d979df44f1cb82d93ae5438ebed826bab7bb diff --git a/mail-client/aerc/aerc-0.9.0.ebuild b/mail-client/aerc/aerc-0.9.0.ebuild new file mode 100644 index 000000000000..f09b2cc25fa8 --- /dev/null +++ b/mail-client/aerc/aerc-0.9.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module xdg + +DESCRIPTION="Email client for your terminal" +HOMEPAGE="https://aerc-mail.org" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~rjarry/aerc" +else + SRC_URI="https://git.sr.ht/~rjarry/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~ppc64" +fi + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +IUSE="notmuch" + +DEPEND="notmuch? ( net-mail/notmuch:= )" +RDEPEND="${DEPEND}" +BDEPEND=" + >=app-text/scdoc-1.9.7 + >=dev-lang/go-1.13 +" + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + unset LDFLAGS + emake GOFLAGS="$(usex notmuch "-tags=notmuch" "")" \ + PREFIX="${EPREFIX}/usr" VERSION=${PV} all +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install + einstalldocs +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "If you want to allow your users to activate html email" + elog "processing via w3m as shown in the tutorial, make sure you" + elog "emerge net-proxy/dante and www-client/w3m" + fi + + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test $v -lt 0.3.0-r1; then + elog "The dependencies on net-proxy/dante and www-client/w3m" + elog "have been removed since they are optional." + elog "Please emerge them before the next --depclean if you" + elog "need to use them." + fi + done + xdg_pkg_postinst +} |