commit: 6e53715787c0e45d593029ae388501df6d13e7ef Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Wed Oct 27 07:32:14 2021 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Wed Nov 3 06:36:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e537157
x11-terms/kitty-terminfo: simplify ebuild, skip private terminfo There's no need to use setup.py, patch, and handle python deps just to run a single tic command (does emit a "new" warning because build-terminfo formerly expected and silenced it). This formerly installed in both /usr/share/terminfo and /usr/lib64/kitty. The latter does not make sense on a system where kitty is not installed, i.e. where terminfo is being installed for using kitty over ssh or similar. Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> .../kitty-terminfo/kitty-terminfo-0.23.1-r1.ebuild | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-0.23.1-r1.ebuild b/x11-terms/kitty-terminfo/kitty-terminfo-0.23.1-r1.ebuild new file mode 100644 index 00000000000..1a17886e2a0 --- /dev/null +++ b/x11-terms/kitty-terminfo/kitty-terminfo-0.23.1-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Terminfo 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 ~x86" +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 +}
