commit:     73da044f54fdeadc99e39004ce2b03bebcacbf16
Author:     Denis Strizhkin <strdenis02 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 15 17:25:06 2024 +0000
Commit:     Denis Strizhkin <strdenis02 <AT> gmail <DOT> com>
CommitDate: Mon Apr 15 17:25:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=73da044f

games-puzzle/katawa-shoujo: update SRC_URI & don't use cp -r

Signed-off-by: Denis Strizhkin <strdenis02 <AT> gmail.com>

 games-puzzle/katawa-shoujo/Manifest                   |  2 +-
 games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild | 13 +++++++------
 games-puzzle/katawa-shoujo/metadata.xml               |  3 +++
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/games-puzzle/katawa-shoujo/Manifest 
b/games-puzzle/katawa-shoujo/Manifest
index d68ad5cc46..59b22db1e9 100644
--- a/games-puzzle/katawa-shoujo/Manifest
+++ b/games-puzzle/katawa-shoujo/Manifest
@@ -1 +1 @@
-DIST KSRE-linux.tar.bz2 478484884 BLAKE2B 
45e49c4a122c492d468eb9025ff0377416c63b35b465ee6b1f75517b9cdc94ce36f27fc9c76849ae0e1a01ad7bd33e9b830c6c7b60f091fa84936a93a29eb009
 SHA512 
6ec1ac1d101c3722c150461575f9a995a0299ea026f849cf5b39ad5347738531786b6f16fa077b2ae2f1e9f3f79d509ebadbe90f59ad063cdd67a545e7d7985c
+DIST katawa-shoujo-1.4.6.tar.bz2 478087906 BLAKE2B 
8c63431b5cb66c5e866b86514e764dafb5ce77d097cefceb091bcd8f75708e0e4fbf4b73229c6a1e3748240d5a5561176a3f623d4539373972376dce212c28b0
 SHA512 
ebef5a3342384e0e1f9fb4849e923ff606730cfd55ee8182a4c652c7bf2c77f719fc8ff4d43129911490f867927a06d44292a60b15141b1d3d8bd4065e56d36a

diff --git a/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild 
b/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild
index 2c3eaf95fa..becf8b7edc 100644
--- a/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild
+++ b/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild
@@ -7,7 +7,8 @@ inherit wrapper
 
 DESCRIPTION="Re-Engineered visual novel with accessibility features"
 HOMEPAGE="https://www.fhs.sh/projects";
-SRC_URI="https://github.com/fleetingheart/ksre/releases/download/v$PV/KSRE-linux.tar.bz2";
+SRC_URI="https://github.com/fleetingheart/ksre/releases/download/v$PV/KSRE-linux.tar.bz2
 -> ${P}.tar.bz2"
+S="${WORKDIR}/KSRE-linux"
 
 LICENSE="
        MPL-2.0
@@ -20,12 +21,12 @@ KEYWORDS="~amd64"
 QA_PREBUILT="*"
 RESTRICT="strip"
 
-S="${WORKDIR}/KSRE-linux"
-
 src_install() {
-       dodir etc
-       cp -r . "$ED/opt/$PN" || die
+       insinto "/opt/${PN}"
+       doins -r *
 
-       make_wrapper ${PN} "/opt/${PN}/Katawa\ Shoujo\ Re-Engineered.sh"
+       fperms +x "/opt/${PN}/Katawa Shoujo Re-Engineered.sh"
+       fperms +x "/opt/${PN}/lib/py3-linux-x86_64/Katawa Shoujo Re-Engineered"
 
+       make_wrapper "${PN}" "/opt/${PN}/Katawa\ Shoujo\ Re-Engineered.sh"
 }

diff --git a/games-puzzle/katawa-shoujo/metadata.xml 
b/games-puzzle/katawa-shoujo/metadata.xml
index 812e586b96..2f1b9ad948 100644
--- a/games-puzzle/katawa-shoujo/metadata.xml
+++ b/games-puzzle/katawa-shoujo/metadata.xml
@@ -5,4 +5,7 @@
                <name>Vitaly Zdanevich</name>
                <email>zdanevich.vit...@ya.ru</email>
        </maintainer>
+       <upstream>
+               <remote-id type="github">fleetingheart/ksre</remote-id>
+       </upstream>
 </pkgmetadata>

Reply via email to