summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-07-16 14:38:40 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-07-16 14:38:40 -0500
commit892c39fae3aceb778209e9cff0e3309c736d643f (patch)
tree06fbb0295d97789cccf1c32dc8f1764205ef24a8 /mail-client/aerc
parentapp-arch/xar-1.8.0.0.487.100.1: version bump, security fix #820641 (diff)
downloadgentoo-892c39fae3aceb778209e9cff0e3309c736d643f.tar.gz
gentoo-892c39fae3aceb778209e9cff0e3309c736d643f.tar.bz2
gentoo-892c39fae3aceb778209e9cff0e3309c736d643f.zip
mail-client/aerc: add 0.11.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'mail-client/aerc')
-rw-r--r--mail-client/aerc/Manifest2
-rw-r--r--mail-client/aerc/aerc-0.11.0.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest
index 8c8996e8fe5b..ed9331b10e1c 100644
--- a/mail-client/aerc/Manifest
+++ b/mail-client/aerc/Manifest
@@ -1,4 +1,6 @@
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.11.0-deps.tar.xz 119175388 BLAKE2B daf4addd0d80ecc14485c5e7e32043a64f98936fb87f93586ec2dbb775c68232ade979c33dfeaef8495fac5a9687f5907b17b4e425de5f4609b1be2642325624 SHA512 fd779454dd551a875584879e24a910b68939e8fdf18009211c1eb4e1c7cc0eb7cff8780b1bf90f81489c199a46a10e533596589d5a5a09946fe309c7dd0cb39e
+DIST aerc-0.11.0.tar.gz 230891 BLAKE2B e598c04eebed7d8be201630546557be0820b81d90198c2c408d657bdf8135f58a3029f30f6245842ebbbdb713e61915fc7d57fc8aae05d4ecd6cedff45068a56 SHA512 141c0300e60d81b725426f98d59ee645a2c24f478359587259ec645b6a710e6d292d1b8319a9f57f94d5be2f98cd48171dc6d99b54a20e49f16ed77199a2e127
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.11.0.ebuild b/mail-client/aerc/aerc-0.11.0.ebuild
new file mode 100644
index 000000000000..f09b2cc25fa8
--- /dev/null
+++ b/mail-client/aerc/aerc-0.11.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
+}