1 |
commit: 8bfd2f82b8ab2389fdb94d359a4b27f392b994b7 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 28 04:59:20 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 08:25:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bfd2f82 |
7 |
|
8 |
x11-terms/kitty-shell-integration: add 0.24.3 |
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.3.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 5980c6630eec..bc771a54cde8 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.2.tar.xz 4601672 BLAKE2B 6e253863d81f2ef04f5d185cfe4379fe08818992a12a06da2ce2b0958912c4a0dc164b2ac6e8e74e383716e7040b2390bd1123ab4d8d282ede602dfea5cc756f SHA512 6d49b20dbd96ed0a1ed49a4523b65593c547ea2fec46f4c2557e26cdb5048ebaadb2c2118c7a2dd346f83ecab2d0a341d2322ae37ebe49184e22055581c631e7 |
22 |
+DIST kitty-0.24.3.tar.xz 4614252 BLAKE2B 04c9904e20aae0ed12d41dc01ea4fbb5e36430e50087821845c0bd3e6d8dd0ab2a090f8ebff8fd66fe9f2b0a3efe52f0434008b4484cbe27a58b05c6e4f56d73 SHA512 2b1482164fb1aabfa2f775f24d0ffbbbd1e8a85cf114a2daa411379ea8dbcea6ae5f361997132fb4d773fed8adeec4c04ffb4e615a470cefeb794d8a39c94c0a |
23 |
|
24 |
diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.3.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..80e3667e6412 |
27 |
--- /dev/null |
28 |
+++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.3.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 ~ppc64 ~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 |
+} |