summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-05-11 10:46:49 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-05-11 10:48:53 -0500
commitfcb4db522e750b3bb6936dfe47e13415ea2afd7c (patch)
treef7d8e88fe7206dacb9817446f68d56abaebcfa7c /mail-client
parentdev-java/stax2-api: x86 stable wrt bug #843683 (diff)
downloadgentoo-fcb4db522e750b3bb6936dfe47e13415ea2afd7c.tar.gz
gentoo-fcb4db522e750b3bb6936dfe47e13415ea2afd7c.tar.bz2
gentoo-fcb4db522e750b3bb6936dfe47e13415ea2afd7c.zip
mail-client/aerc: add 0.10.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/aerc/Manifest2
-rw-r--r--mail-client/aerc/aerc-0.10.0.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest
index e38567bdae83..8245b7ce98d6 100644
--- a/mail-client/aerc/Manifest
+++ b/mail-client/aerc/Manifest
@@ -1,3 +1,5 @@
+DIST aerc-0.10.0-deps.tar.xz 117874916 BLAKE2B fc9921f245be1be740f145ab1e067c3f6dac5b26b2544e26a0cbad7b78baebcacbd79a523e9805cfeb65573b13328600f5f93faeadebce410099918304d91036 SHA512 2363026323b126797537277ad7b514a9be94f48f8c5e9fb67f216640c5ab93fb5531d8bb4018789b670c7a71eec31cafa72a005c7ad384a1e9afaa57258e02b2
+DIST aerc-0.10.0.tar.gz 209836 BLAKE2B 2d51d0d9db90e41cce76ccd3cb802218777a6463a0211eb39378542caec9d2c9468f5f6d18d27d130b1153fa19d1633a9fe93730dcb51ec1afdb92a32cfc5893 SHA512 016182847e1fb8198973aa8522d9a205a8589760d40b0177cb41a9b236277fb4aa11d2c0f14bd836be5a53f4b4d5ef65b407407e09399a2ad025fbf22d53bfbb
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
diff --git a/mail-client/aerc/aerc-0.10.0.ebuild b/mail-client/aerc/aerc-0.10.0.ebuild
new file mode 100644
index 000000000000..f09b2cc25fa8
--- /dev/null
+++ b/mail-client/aerc/aerc-0.10.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
+}