From c024d20fc2116409b37fe52bdbaecfd3565fa65c Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Sun, 19 Jun 2022 12:54:05 +0100 Subject: app-emacs/corfu: new package, add 0.25 Signed-off-by: Matthew Smith --- app-emacs/corfu/Manifest | 1 + app-emacs/corfu/corfu-0.25.ebuild | 27 +++++++++++++++++++++++++++ app-emacs/corfu/files/50corfu-gentoo.el | 2 ++ app-emacs/corfu/metadata.xml | 12 ++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 app-emacs/corfu/Manifest create mode 100644 app-emacs/corfu/corfu-0.25.ebuild create mode 100644 app-emacs/corfu/files/50corfu-gentoo.el create mode 100644 app-emacs/corfu/metadata.xml (limited to 'app-emacs/corfu') diff --git a/app-emacs/corfu/Manifest b/app-emacs/corfu/Manifest new file mode 100644 index 000000000000..0ce16439238a --- /dev/null +++ b/app-emacs/corfu/Manifest @@ -0,0 +1 @@ +DIST corfu-0.25.tar.gz 38366 BLAKE2B 297c8c556d32ee9f0a42265bbcd9b7cdd19881b8d85a9c92b6be84cb52e5558996cb16da596d13349fd1c9c72c7b6247e003ab48fcc41fd4acbe2d151b8e2e90 SHA512 602a9072cfa6a75672e1879e8da95b59355cc720482c8946311446c5722d13d0db6171eab8d899b689a689fe306d11f9b063e6bdc07dc710d9ee8f6f15b5aeee diff --git a/app-emacs/corfu/corfu-0.25.ebuild b/app-emacs/corfu/corfu-0.25.ebuild new file mode 100644 index 000000000000..7cc6d4bc7c42 --- /dev/null +++ b/app-emacs/corfu/corfu-0.25.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +NEED_EMACS=27 + +inherit elisp + +DESCRIPTION="Completion Overlay Region FUnction" +HOMEPAGE="https://github.com/minad/corfu" +SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + mv extensions/*.el . || die +} + +src_compile() { + elisp_src_compile + elisp-make-autoload-file +} diff --git a/app-emacs/corfu/files/50corfu-gentoo.el b/app-emacs/corfu/files/50corfu-gentoo.el new file mode 100644 index 000000000000..e80eb907bae9 --- /dev/null +++ b/app-emacs/corfu/files/50corfu-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "@SITELISP@/corfu-autoloads" nil t) diff --git a/app-emacs/corfu/metadata.xml b/app-emacs/corfu/metadata.xml new file mode 100644 index 000000000000..ab95b8c63633 --- /dev/null +++ b/app-emacs/corfu/metadata.xml @@ -0,0 +1,12 @@ + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + + minad/corfu + + -- cgit v1.2.3-65-gdbad