diff options
Diffstat (limited to 'app-emacs/corfu')
-rw-r--r-- | app-emacs/corfu/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/corfu/corfu-0.25.ebuild | 27 | ||||
-rw-r--r-- | app-emacs/corfu/files/50corfu-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/corfu/metadata.xml | 12 |
4 files changed, 42 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<stabilize-allarches/> +<upstream> + <remote-id type="github">minad/corfu</remote-id> +</upstream> +</pkgmetadata> |