Skip to content

Commit

Permalink
mail-client/aerc: sync live
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: William Hubbs <williamh@gentoo.org>
  • Loading branch information
williamh committed Mar 6, 2022
1 parent 25dd897 commit 721c5b6
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions mail-client/aerc/aerc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module
inherit go-module xdg

DESCRIPTION="Email client for your terminal"
HOMEPAGE="https://aerc-mail.org"
Expand All @@ -12,27 +11,22 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~rjarry/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}"
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.gz"
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
"

DEPEND="notmuch? ( net-mail/notmuch:= )"
RDEPEND="${DEPEND}"

src_unpack() {
if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
Expand All @@ -43,8 +37,9 @@ src_unpack() {
}

src_compile() {
use notmuch && export GOFLAGS="-tags=notmuch"
emake PREFIX="${EPREFIX}/usr" all
LDFLAGS= \
emake GOFLAGS="-mod=vendor $(usex notmuch "-tags=notmuch" "")" \
PREFIX="${EPREFIX}/usr"VERSION=${PV} all
}

src_install() {
Expand All @@ -68,4 +63,5 @@ pkg_postinst() {
elog "need to use them."
fi
done
xdg_pkg_postinst
}

0 comments on commit 721c5b6

Please sign in to comment.