gentoo-ebuilds/x11-terms/kitty-terminfo/kitty-terminfo-0.42.2.ebuild
Ionen Wolkens 809c8f62fa
x11-terms/kitty-terminfo: add 0.42.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-07-16 03:38:58 -04:00

29 lines
795 B
Bash

# Copyright 1999-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="Terminfo 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
BDEPEND="sys-libs/ncurses"
src_compile() { :; }
src_install() {
dodir /usr/share/terminfo
tic -xo "${ED}"/usr/share/terminfo terminfo/kitty.terminfo || die
}