diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-02-26 22:02:50 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-02-26 22:02:50 +0100 |
commit | a0be7bbfbc69bfbc747adfc530034cb25c65318b (patch) | |
tree | 2d6ec9b4fe92b03988920a83a3c30d56a63e0bf3 /app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild | |
parent | net-misc/kafka-bin: drop user eclass from inherit (diff) | |
download | gentoo-a0be7bbfbc69bfbc747adfc530034cb25c65318b.tar.gz gentoo-a0be7bbfbc69bfbc747adfc530034cb25c65318b.tar.bz2 gentoo-a0be7bbfbc69bfbc747adfc530034cb25c65318b.zip |
app-emacs/lyskom-elisp-client: New snapshot.
Closes: https://bugs.gentoo.org/710824
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild')
-rw-r--r-- | app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild b/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild new file mode 100644 index 000000000000..ba69615e7276 --- /dev/null +++ b/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit elisp readme.gentoo-r1 + +DESCRIPTION="Elisp client for the LysKOM conference system" +HOMEPAGE="http://www.lysator.liu.se/lyskom/klienter/emacslisp/index.en.html" +# snapshot of git://git.lysator.liu.se/${PN}/${PN}.git +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="l10n_sv" + +S="${WORKDIR}/${PN}" +ELISP_PATCHES="${PN}-0.48_p20161231-no-git.patch" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + local d=${PV#*_p} + sed -i "s/@@DATE@@/${d:0:4}-${d:4:2}-${d:6:2}/" src/Makefile || die +} + +src_compile() { + emake -C src EMACS=emacs + # Info page is in Swedish only + use l10n_sv && emake -C doc elisp-client +} + +src_install() { + elisp-install ${PN} src/lyskom.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + dodoc src/{ChangeLog*,README,TODO} doc/NEWS* + use l10n_sv && doinfo doc/elisp-client + + DOC_CONTENTS="If you prefer an English language environment, add the + following line to your ~/.emacs file: + \n\t(setq-default kom-default-language 'en)" + readme.gentoo_create_doc +} |