aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Strizhkin <strdenis02@gmail.com>2024-04-15 20:25:06 +0300
committerDenis Strizhkin <strdenis02@gmail.com>2024-04-15 20:25:44 +0300
commit73da044f54fdeadc99e39004ce2b03bebcacbf16 (patch)
treeba3560a56a3e0fc2dd893b613d15f9d0061c2d2d /games-puzzle
parentapp-shells/wttr-in: curl wrapper, maybe will be extended in the future (diff)
downloadguru-73da044f54fdeadc99e39004ce2b03bebcacbf16.tar.gz
guru-73da044f54fdeadc99e39004ce2b03bebcacbf16.tar.bz2
guru-73da044f54fdeadc99e39004ce2b03bebcacbf16.zip
games-puzzle/katawa-shoujo: update SRC_URI & don't use cp -r
Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/katawa-shoujo/Manifest2
-rw-r--r--games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild13
-rw-r--r--games-puzzle/katawa-shoujo/metadata.xml3
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.vitaly@ya.ru</email>
</maintainer>
+ <upstream>
+ <remote-id type="github">fleetingheart/ksre</remote-id>
+ </upstream>
</pkgmetadata>