diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /app-emacs/blogmax/blogmax-20170321.ebuild | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'app-emacs/blogmax/blogmax-20170321.ebuild')
-rw-r--r-- | app-emacs/blogmax/blogmax-20170321.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-emacs/blogmax/blogmax-20170321.ebuild b/app-emacs/blogmax/blogmax-20170321.ebuild new file mode 100644 index 000000000000..1fced845ba4e --- /dev/null +++ b/app-emacs/blogmax/blogmax-20170321.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit elisp eutils readme.gentoo-r1 + +DESCRIPTION="Blogging in Emacs" +HOMEPAGE="https://billstclair.com/blogmax/index.html" +# snapshot from https://github.com/billstclair/BlogMax +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + +LICENSE="GPL-1+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +S="${WORKDIR}/${PN}" +ELISP_REMOVE="*.elc gpl.txt" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + edos2unix *.{el,html,inc,ini,tmpl,txt,xml} docs/*.{html,txt} + elisp_src_prepare +} + +src_compile() { + elisp-compile blogmax.el +} + +src_install() { + elisp-install ${PN} blogmax.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + DOC_CONTENTS="To get started with BlogMax, use the example site file + from /usr/share/doc/${PF}/example as a template for your own blog." + readme.gentoo_create_doc + + dodoc README + dodoc -r docs + docinto example + dodoc *.{html,inc,ini,png,tmpl,txt,xml} +} |