forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mail-client/mutt-wizard: bump dated version
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Aisha Tammy <[email protected]> Signed-off-by: Joonas Niilola <[email protected]>
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST mutt-wizard-0_pre20200606.tar.gz 32391 BLAKE2B 2ea165c8a94ebb7a7e28ff466c93f87a0a9f89de98ad71039ea610b6120c1c89922a39ee505159e4139d9a6d29b727ae706a2ec57378b838774a7564afe54e74 SHA512 008688a7d7ad8d895334900a0a060a7c3724519a4a49120d50e9cb0b1cad6e3c63fd7f16985333e35fb46b1bdaae3934750fbc52370dc36927f9bc8482fb5363 | ||
DIST mutt-wizard-0_pre20200808.tar.gz 30797 BLAKE2B 90b7382b6d2a687fa2ce5b267a00ee582c1ea89169185eb556f7e3aab4bbc822068fd691fbdaa843df0c525ec737a34acb39bc8a09d3c608837487825e57344b SHA512 e49de65658d4222d8932b1dd117631fffcd08493dc6e20a5157f8a3e336e179bf754ef64387f2b538c70898183a0413c99425a2751debb4b8d7cea5465076f57 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 2019-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit eutils | ||
|
||
DESCRIPTION="A system for automatically configuring neomutt and isync" | ||
HOMEPAGE="https://github.com/LukeSmithxyz/mutt-wizard" | ||
|
||
if [[ ${PV} == 9999 ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/LukeSmithxyz/mutt-wizard.git" | ||
else | ||
COMMIT=1492a11b3ee0a1c3f5544a351089ff154521b68b | ||
SRC_URI="https://github.com/LukeSmithxyz/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" | ||
KEYWORDS="~amd64 ~x86" | ||
S="${WORKDIR}/${PN}-${COMMIT}" | ||
fi | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
|
||
RDEPEND=" | ||
app-admin/pass | ||
mail-client/neomutt[notmuch] | ||
mail-mta/msmtp | ||
net-mail/isync[ssl] | ||
" | ||
|
||
# needed because there is no 'all' target defined in MAKEFILE | ||
src_compile() { | ||
return 0; | ||
} | ||
|
||
src_install() { | ||
emake PREFIX="/usr" DESTDIR="${D}" install | ||
einstalldocs | ||
} | ||
|
||
pkg_postinst() { | ||
optfeature "enable viewing html mails" www-client/lynx | ||
optfeature "enable periodic syncing of mails" virtual/cron | ||
optfeature "enable viewing of simple images" media-gfx/imagemagick | ||
optfeature "enable notifications when syncing using mailsync" x11-libs/libnotify | ||
optfeature "enable command line address book" app-misc/abook | ||
optfeature "enable use of gpg for signing and verifying" app-crypt/gnupg | ||
} |