commit:     d4af71c7f0cc9182d1194b8caaec383d4d2514dd
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 05:45:54 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=d4af71c7

x11-terms/kitty-shell-integration: make live ebuild copyable

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

 .../kitty-shell-integration-9999.ebuild                      | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git 
a/x11-terms/kitty-shell-integration/kitty-shell-integration-9999.ebuild 
b/x11-terms/kitty-shell-integration/kitty-shell-integration-9999.ebuild
index 5e6174ae77d5..837efbfa43f0 100644
--- a/x11-terms/kitty-shell-integration/kitty-shell-integration-9999.ebuild
+++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-9999.ebuild
@@ -1,13 +1,19 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-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="Shell integration scripts 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