commit:     d8c83bd6b6279c72e758a89378732d84d6df11b5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  2 18:05:30 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Feb  2 18:42:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c83bd6

x11-terms/kitty: use mv rather than doins for src_install

There's really no need to do hacks just to use the typical doins way
(alternativly could look at build && linux-package --prefix="${ED}",
but with this custom build system it's bit of a hassle).

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

 x11-terms/kitty/kitty-0.27.0.ebuild | 7 +------
 x11-terms/kitty/kitty-9999.ebuild   | 7 +------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/x11-terms/kitty/kitty-0.27.0.ebuild 
b/x11-terms/kitty/kitty-0.27.0.ebuild
index 9d20478938f2..cb94d9d457a5 100644
--- a/x11-terms/kitty/kitty-0.27.0.ebuild
+++ b/x11-terms/kitty/kitty-0.27.0.ebuild
@@ -140,12 +140,7 @@ src_test() {
 }
 
 src_install() {
-       insinto /usr
-       doins -r linux-package/.
-
-       local execbit
-       mapfile -t execbit < <(find linux-package -type f -perm /+x -printf 
'/usr/%P\n' || die)
-       fperms +x "${execbit[@]}"
+       edo mv linux-package "${ED}"/usr
 }
 
 pkg_postinst() {

diff --git a/x11-terms/kitty/kitty-9999.ebuild 
b/x11-terms/kitty/kitty-9999.ebuild
index 9d20478938f2..cb94d9d457a5 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -140,12 +140,7 @@ src_test() {
 }
 
 src_install() {
-       insinto /usr
-       doins -r linux-package/.
-
-       local execbit
-       mapfile -t execbit < <(find linux-package -type f -perm /+x -printf 
'/usr/%P\n' || die)
-       fperms +x "${execbit[@]}"
+       edo mv linux-package "${ED}"/usr
 }
 
 pkg_postinst() {

Reply via email to