From 21a9fad57f77e88c8ff1b0a84fcb073ef526e803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sat, 13 Apr 2024 13:41:03 +0200 Subject: app-emacs/exec-path-from-shell: bump to 2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- .../exec-path-from-shell-2.2.ebuild | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild (limited to 'app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild') diff --git a/app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild b/app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild new file mode 100644 index 000000000000..d2795541094c --- /dev/null +++ b/app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Ensure environment variables inside Emacs are the same as in shell" +HOMEPAGE="https://github.com/purcell/exec-path-from-shell/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/purcell/${PN}.git" +else + SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + elisp-make-autoload-file +} -- cgit v1.2.3