src_prepare-overlay/app-emacs/ement-extras/ement-extras-99999999.ebuild

42 lines
829 B
Bash
Raw Permalink Normal View History

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS="24.1"
MY_PN="emacs-${PN}"
inherit elisp-common git-r3
DESCRIPTION="Extra features for Ement, Matrix client for GNU Emacs"
HOMEPAGE="https://gitlab.com/akater/emacs-ement-extras/-/blob/master/emacs-ement-extras.org"
EGIT_REPO_URI="https://gitlab.com/akater/${MY_PN}.git"
EGIT_BRANCH="release"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
DOCS="" # README.org is a relative symlink
BDEPEND="
app-emacs/defmacro-gensym
app-emacs/ement
app-emacs/plz
"
RDEPEND="
app-emacs/ement
"
export ORG_IMMUTABLE_SOURCES_DIRECTORY="${SITEETC}/${PN}"
pkg_postinst() {
elisp-site-regen
if declare -f readme.gentoo_print_elog >/dev/null; then
readme.gentoo_print_elog
fi
}
pkg_postrm() {
elisp-site-regen
}