summaryrefslogtreecommitdiff
path: root/app-emacs/exec-path-from-shell
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/exec-path-from-shell')
-rw-r--r--app-emacs/exec-path-from-shell/Manifest1
-rw-r--r--app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/app-emacs/exec-path-from-shell/Manifest b/app-emacs/exec-path-from-shell/Manifest
index da48b37f5a24..aea18b416c4e 100644
--- a/app-emacs/exec-path-from-shell/Manifest
+++ b/app-emacs/exec-path-from-shell/Manifest
@@ -1 +1,2 @@
DIST exec-path-from-shell-2.1.tar.gz 18673 BLAKE2B fd1d3c1cc6d7ce89eacbf9cd3cfe737a1867723dda28993ee049d91437dc8a17edf07ec1e4a121eae384deebfde934e371168ee6870e09886483cecce1bc306e SHA512 bd211756fa06115af45db6d9fb351f3affb0d59ae717643c9e4df422e63ddb780edf642d030db5b039e2759b2bfca948f7638d2dbd3ac84f3c2b8814b4a085f3
+DIST exec-path-from-shell-2.2.tar.gz 18935 BLAKE2B 7b255664037a68c3ec67fd3ed404a35d834f69431152f6baaa4c8f85aa8565968ad6cc59f8674d06dd86befd9d13fbf2f39b1347395451fc8bb9eb43138e9e0d SHA512 75bd4dd96c7224a7daf9709e5508ff45b3b7541713267282ff9a31e357e74e2ff8ad054193c1753e2d2f824206abcff5485fe7710037974c536b4afc87500b09
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
+}