commit:     eadfa6eb32cba5c6567511e96ad0e9d665c63af9
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 05:47:25 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 07:38:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eadfa6eb

x11-terms/kitty-terminfo: make live ebuild copyable

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild 
b/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild
index af803f4eecd4..4298203f5167 100644
--- a/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild
+++ b/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild
@@ -1,13 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit git-r3
+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/";
-EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git";
 
 LICENSE="GPL-3"
 SLOT="0"

Reply via email to