diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-11 17:39:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-11 17:39:25 +0100 |
commit | 0d39cf7bd8aae36b5d8eb4272a42dc6919216e34 (patch) | |
tree | a693bda4655d339b219f18fa48d970444858c94d /app-emacs/ivy/ivy-0.14.0.ebuild | |
parent | 9d8d34d0eedfd7319f905092519980bf1b4ce3e5 (diff) |
gentoo auto-resync : 11:04:2023 - 17:39:25
Diffstat (limited to 'app-emacs/ivy/ivy-0.14.0.ebuild')
-rw-r--r-- | app-emacs/ivy/ivy-0.14.0.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/ivy/ivy-0.14.0.ebuild b/app-emacs/ivy/ivy-0.14.0.ebuild new file mode 100644 index 000000000000..3bedf16037a6 --- /dev/null +++ b/app-emacs/ivy/ivy-0.14.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Generic completion mechanism for Emacs" +HOMEPAGE="https://github.com/abo-abo/swiper/" +SRC_URI="https://github.com/abo-abo/swiper/archive/${PV}.tar.gz + -> swiper-${PV}.tar.gz" +S="${WORKDIR}"/swiper-${PV} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="sys-apps/texinfo" + +DOCS=( CONTRIBUTING.org README.md doc/{Changelog,ivy-help,ivy}.org ) +SITEFILE="50${PN}-gentoo.el" + +# Main Ivy sources. Swiper, Counsel and Ivy extensions have their own packages. +IVY_SOURCES=( colir.el ivy{,-overlay,-faces}.el ) + +src_prepare() { + elisp_src_prepare + + # Wipe "elpa.el" to prevent initialization of the "package" library. + [[ ! -f elpa.el ]] && die "no \"elpa.el\" found" + echo "" > elpa.el || die "failed to wipe \"elpa.el\"" +} + +src_compile() { + elisp-compile ${IVY_SOURCES[@]} + emake -C doc ivy.info +} + +src_test() { + emake emacs="${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS}" test +} + +src_install() { + elisp-install ${PN} ${IVY_SOURCES[@]} *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + doinfo doc/ivy.info + einstalldocs +} |