diff options
author | Matthew Smith <matthew@gentoo.org> | 2022-02-27 10:08:49 +0000 |
---|---|---|
committer | Matthew Smith <matthew@gentoo.org> | 2022-02-27 10:22:54 +0000 |
commit | 471b11bf9e7c46a24a1a1af0c00c4f7b2fcb26d0 (patch) | |
tree | 2cfd827125cbee792bef978522d0b66f96df16a0 /app-emacs/haskell-mode | |
parent | app-emacs/cmake-font-lock: init at 0.1.12 (diff) | |
download | gentoo-471b11bf9e7c46a24a1a1af0c00c4f7b2fcb26d0.tar.gz gentoo-471b11bf9e7c46a24a1a1af0c00c4f7b2fcb26d0.tar.bz2 gentoo-471b11bf9e7c46a24a1a1af0c00c4f7b2fcb26d0.zip |
app-emacs/haskell-mode: add 17.2
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'app-emacs/haskell-mode')
-rw-r--r-- | app-emacs/haskell-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/haskell-mode/haskell-mode-17.2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-emacs/haskell-mode/Manifest b/app-emacs/haskell-mode/Manifest index 16d821f595a6..9729a5175ed5 100644 --- a/app-emacs/haskell-mode/Manifest +++ b/app-emacs/haskell-mode/Manifest @@ -1 +1,2 @@ DIST haskell-mode-16.1.tar.gz 1192866 BLAKE2B 5a53075be5ea1246f2aa61d1004fb282d6c5e182497f7660336cf89634bde3b6455997286a4e7e599bf044a9d5c47384f44addb1ab6f53a257c749a93849992e SHA512 28654499ee521032be1ae6edfd338cab6022d7fdd4ff34e720ffe249801d4b442484cce4f5fc3461aa5145918f66f4b69df774b60cceb408220fc0533386cc56 +DIST haskell-mode-17.2.tar.gz 1144963 BLAKE2B 79005da9ac5a36f0dee0586aaee42d2db64711b56633d9e22b250044863383a332c6ce19c90d8c4d41dccc881eeeacc48cb75f705fd56d5af4ea678899f784d5 SHA512 3ef7052948d02d89150b3cd80e252b0dea2ebd9c485a6e7272c474906f282247b62f4ad4f639074326af908630cedbfa507f9b3b52f44a1579e7edce5e44e588 diff --git a/app-emacs/haskell-mode/haskell-mode-17.2.ebuild b/app-emacs/haskell-mode/haskell-mode-17.2.ebuild new file mode 100644 index 000000000000..f06ccd080f88 --- /dev/null +++ b/app-emacs/haskell-mode/haskell-mode-17.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +NEED_EMACS=25 + +inherit elisp + +DESCRIPTION="Mode for editing (and running) Haskell programs in Emacs" +HOMEPAGE="https://haskell.github.io/haskell-mode/ + https://www.haskell.org/haskellwiki/Emacs#Haskell-mode" +SRC_URI="https://github.com/haskell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+ FDL-1.2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +BDEPEND="sys-apps/texinfo" + +SITEFILE="50${PN}-gentoo.el" +ELISP_TEXINFO="doc/haskell-mode.texi" +DOCS="NEWS README.md" + +src_prepare() { + # We install the logo in SITEETC, not in SITELISP + # https://github.com/haskell/haskell-mode/issues/102 + sed -i -e "/defconst haskell-process-logo/{n;" \ + -e "s:(.*\"\\(.*\\)\".*):\"${SITEETC}/${PN}/\\1\":}" \ + haskell-process.el || die + + eapply_user +} + +src_compile() { + elisp_src_compile + elisp-make-autoload-file haskell-site-file.el +} + +src_test() { + emake check-ert +} + +src_install() { + elisp_src_install + insinto "${SITEETC}"/${PN} + doins logo.svg +} |