2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

x11-terms/kitty-shell-integration: add 0.44.0

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-11-03 06:12:28 -05:00
parent f4767af43c
commit d178c5d2b7
2 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST kitty-0.43.1.tar.xz 12756968 BLAKE2B 27d6d06d16d5d2989741691aa5ec40c395f11ae9479f2ac78cfab6e2716023d01603d94957b825f9fe5bf09c377c5bc87a839545238abab8512a408482a4a570 SHA512 083fba383d970aec87aa279787b35bf974562987340a5b10538cab4b816fa0031ba02ba46240928649ef88e7ba7cafdae3dc697e7681d0899c43b5ef1af6ae7d
DIST kitty-0.44.0.tar.xz 12766804 BLAKE2B 67c876292be90f7c783dc1a07430508e0bce3cfc2092b21c93e794c86fad76427b7be8e24480f5dc9c56c99e103cc5ef4575743968ee2821b4aee30069e0e748 SHA512 5e947aacc32e142316c65ff3aa8df8fca38d3a654cecd669e22d001f4628f7da716cf70c668f6881296d7b3e145180a5524e596c7ac873e08d3c0b8588db0538

View File

@@ -0,0 +1,39 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
else
SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz"
S=${WORKDIR}/kitty-${PV}
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal emulator"
HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
LICENSE="GPL-3"
SLOT="0"
RESTRICT="test" # intended to be ran on the full kitty package
src_compile() { :; }
src_install() {
# split from the kitty package to allow installing individually on
# remote machines and have shell integration scripts be auto-loaded
insinto /etc/bash/bashrc.d
newins shell-integration/bash/kitty.bash 90-kitty.bash
insinto /usr/share/fish
doins -r shell-integration/fish/vendor_conf.d
# unfortunately zsh currently lacks a bashrc.d equivalent, copy
# to docdir for now so users can use it manually if needed (also at
# /usr/lib*/kitty/shell-integration/zsh if kitty is installed)
docinto zsh
docompress -x /usr/share/doc/${PF}/zsh
dodoc shell-integration/zsh/{.zshenv,kitty-integration,kitty.zsh}
}