app-emacs/mailcrypt: Use eclass functions to build and install.
authorUlrich Müller <ulm@gentoo.org>
Fri, 18 Oct 2019 11:10:14 +0000 (13:10 +0200)
committerUlrich Müller <ulm@gentoo.org>
Fri, 18 Oct 2019 11:12:37 +0000 (13:12 +0200)
Instead of quirky upstream build system.

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
app-emacs/mailcrypt/mailcrypt-3.5.9-r3.ebuild [new file with mode: 0644]

diff --git a/app-emacs/mailcrypt/mailcrypt-3.5.9-r3.ebuild b/app-emacs/mailcrypt/mailcrypt-3.5.9-r3.ebuild
new file mode 100644 (file)
index 0000000..d7231e3
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="Provides a simple interface to public key cryptography with OpenPGP"
+HOMEPAGE="http://mailcrypt.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mailcrypt/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+RESTRICT="test"
+
+RDEPEND="app-crypt/gnupg"
+
+ELISP_PATCHES="${P}-backquotes.patch"
+ELISP_REMOVE="FSF-timer.el"            # remove bundled timer.el
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="mailcrypt.texi"
+DOCS="ANNOUNCE ChangeLog* INSTALL NEWS ONEWS README* WARNINGS"
+DOC_CONTENTS="See the INSTALL file in /usr/share/doc/${PF} for how to
+       customize mailcrypt."