summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-05-19 23:11:59 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-05-19 23:13:19 -0700
commitdc18db2d242302dd63e401fa3a8f98e2e1a6e7fb (patch)
treef8a8c00723b3a74be77104726bbe3cb95220e8ba /mail-client/aerc
parentmail-client/aerc: bump to 0.4.0 (diff)
downloadgentoo-dc18db2d242302dd63e401fa3a8f98e2e1a6e7fb.tar.gz
gentoo-dc18db2d242302dd63e401fa3a8f98e2e1a6e7fb.tar.bz2
gentoo-dc18db2d242302dd63e401fa3a8f98e2e1a6e7fb.zip
mail-client/aerc: sync live ebuild
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'mail-client/aerc')
-rw-r--r--mail-client/aerc/aerc-9999.ebuild29
1 files changed, 24 insertions, 5 deletions
diff --git a/mail-client/aerc/aerc-9999.ebuild b/mail-client/aerc/aerc-9999.ebuild
index 455ac923f0d..db3a9c7f148 100644
--- a/mail-client/aerc/aerc-9999.ebuild
+++ b/mail-client/aerc/aerc-9999.ebuild
@@ -3,24 +3,43 @@
EAPI=7
-inherit git-r3 go-module
+inherit go-module
DESCRIPTION="Email client for your terminal"
HOMEPAGE="https://aerc-mail.org"
-EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/aerc"
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/aerc"
+else
+ EGO_SUM=(
+ # to be filled on bumps
+ )
+ go-module_set_globals
+ SRC_URI="https://git.sr.ht/~sircmpwn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+ KEYWORDS="~amd64 ~ppc64"
+fi
LICENSE="Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
IUSE="notmuch"
-BDEPEND=">=app-text/scdoc-1.9.7"
+BDEPEND="
+ >=app-text/scdoc-1.9.7
+ >=dev-lang/go-1.13
+"
+
DEPEND="notmuch? ( net-mail/notmuch:= )"
RDEPEND="${DEPEND}"
src_unpack() {
- git-r3_src_unpack
- go-module_live_vendor
+ if [[ ${PV} == *9999 ]]; then
+ git-r3_src_unpack
+ go-module_live_vendor
+ else
+ go-module_src_unpack
+ fi
}
src_compile() {