1 |
commit: 8f9042abd1306c20fa7c33090af24d483ad7488c |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 6 08:59:20 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 6 09:10:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f9042ab |
7 |
|
8 |
x11-terms/kitty-shell-integration: add 0.24.1 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
x11-terms/kitty-shell-integration/Manifest | 1 + |
13 |
.../kitty-shell-integration-0.24.1.ebuild | 34 ++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest |
17 |
index 23dfe1ff9b95..3e9d8a94f3a8 100644 |
18 |
--- a/x11-terms/kitty-shell-integration/Manifest |
19 |
+++ b/x11-terms/kitty-shell-integration/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST kitty-0.24.0.tar.xz 4503616 BLAKE2B 5a42b4815d25ff9e3a1f9fb6673e4e58ec3b59b5f81dc4098ef24408580d070e92a181e84167f5a343ffc3a9af33556823153d463eaa8e406f31c032ed8bab37 SHA512 b851ed56d16f9a39d47810bf27c2bc8cbb52d476376c4090045db90c1ad0bc7db6fd9e97edd6ce50a6d69e716671e1e909aab889ecac368857ad5c07f68a76af |
22 |
+DIST kitty-0.24.1.tar.xz 4512652 BLAKE2B ea1bf4911a744fb5aaa5fe3d9fc4821880e78c60a0a89ecba12c73623b9b537c2d9d4e494da125669f2fc36f273f49a00cc5825f56184c1b0c69f4c570b2226d SHA512 e590a3abd4ed38ce956ee1e1b9d3679150c83b80df5ed9daf9773d7a278f63dc8a3a563058906d322f9186bece7d479036a502864fd80f45593c4970c056f389 |
23 |
|
24 |
diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.1.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..fc3c61131372 |
27 |
--- /dev/null |
28 |
+++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.1.ebuild |
29 |
@@ -0,0 +1,34 @@ |
30 |
+# Copyright 2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal emulator" |
36 |
+HOMEPAGE="https://sw.kovidgoyal.net/kitty/" |
37 |
+SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz" |
38 |
+S="${WORKDIR}/kitty-${PV}" |
39 |
+ |
40 |
+LICENSE="GPL-3" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+RESTRICT="test" # intended to be ran on the full kitty package |
44 |
+ |
45 |
+src_compile() { :; } |
46 |
+ |
47 |
+src_install() { |
48 |
+ # install the whole directory in the upstream suggested location |
49 |
+ # for consistency (i.e. less variation between distros if someone |
50 |
+ # ssh into Gentoo), then set symlinks to autoload where possible |
51 |
+ # (these exit immediately if KITTY_SHELL_INTEGRATION is unset) |
52 |
+ insinto /usr/share/kitty |
53 |
+ doins -r shell-integration |
54 |
+ |
55 |
+ dosym -r {/usr/share/kitty/shell-integration/bash,/etc/bash/bashrc.d}/kitty.bash |
56 |
+ |
57 |
+ dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_completions.d/kitty.fish |
58 |
+ dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_conf.d/kitty-shell-integration.fish |
59 |
+ |
60 |
+ dosym -r /usr/share/{kitty/shell-integration/zsh/completions,zsh/site-functions}/_kitty |
61 |
+ # zsh integration is handled automatically without needing to modify rc files, |
62 |
+ # but may require user intervention depending on zsh invocation or if remote |
63 |
+} |