mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
x11-terms/kitty-shell-integration: drop 0.35.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST kitty-0.35.2.tar.xz 8220608 BLAKE2B 277803c7036890af34f2e0497ab1d33cb578cba4bfba425d6699e02e2106cde4e10f7dcc6859ce7eea1b4f34795a2f5180328665450ccb49d8a6da4183fa4f50 SHA512 edc78046f942965c823a1202a6d7c85cc2d2acb376824a0f5224d4ba6f48ed0978a00eb7a3e1e6053622a7d5fdcf80009ecfb61a63272cf407dd30f828f47b56
|
||||
DIST kitty-0.39.1.tar.xz 8942308 BLAKE2B cb9eec3a8e568ef2caa5d50b52d13c2a0acc5f090dce40d0a6ae1bd4c2d78164506e6416d0d915f2c0028af1d7bbbc8b98bc81b2ff8831f3ce9e33374a0f27a9 SHA512 50d8e083e63fb5ccee5d6a4d7a3d07e775fe609307ad724527cd50ab33a7023d4e6694dd08ce322e643806fdcf92c0e990f14212ad168dbf4f39b8a666634000
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal emulator"
|
||||
HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
|
||||
SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz"
|
||||
S="${WORKDIR}/kitty-${PV}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
|
||||
RESTRICT="test" # intended to be ran on the full kitty package
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# install the whole directory in the upstream suggested location
|
||||
# for consistency (i.e. less variation between distros if someone
|
||||
# ssh into Gentoo), then set symlinks to autoload where possible
|
||||
# (these exit immediately if KITTY_SHELL_INTEGRATION is unset)
|
||||
insinto /usr/share/kitty
|
||||
doins -r shell-integration
|
||||
|
||||
dosym -r {/usr/share/kitty/shell-integration/bash/,/etc/bash/bashrc.d/90-}kitty.bash
|
||||
|
||||
dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_completions.d/kitty.fish
|
||||
dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_conf.d/kitty-shell-integration.fish
|
||||
|
||||
dosym -r /usr/share/{kitty/shell-integration/zsh/completions,zsh/site-functions}/_kitty
|
||||
# zsh integration is handled automatically without needing to modify rc files,
|
||||
# but may require user intervention depending on zsh invocation or if remote
|
||||
|
||||
# this is used internally by the ssh kitten and is not useful there
|
||||
rm -r "${ED}"/usr/share/kitty/shell-integration/ssh || die
|
||||
}
|
||||
Reference in New Issue
Block a user