diff options
-rw-r--r-- | games-simulation/kerbal-space-program/Manifest | 2 | ||||
-rw-r--r-- | games-simulation/kerbal-space-program/kerbal-space-program-1.12.4.ebuild (renamed from games-simulation/kerbal-space-program/kerbal-space-program-1.12.1.ebuild) | 25 |
2 files changed, 11 insertions, 16 deletions
diff --git a/games-simulation/kerbal-space-program/Manifest b/games-simulation/kerbal-space-program/Manifest index 6c45b9e..da04c79 100644 --- a/games-simulation/kerbal-space-program/Manifest +++ b/games-simulation/kerbal-space-program/Manifest @@ -1 +1 @@ -DIST kerbal_space_program_1_12_1_03142_48164.sh 2071437768 SHA256 63b0eba38881afddd53483f6b6580cb5f31069251b78605da2c71bff9dd41a13 SHA512 ca69d5cfd0492280d342b2a68281f33bd834d695d4c98249b3132abbebdcd5ed1f93947711947f632453c0329b701eebbb0413967a90e1a443abee4bf430c811 WHIRLPOOL 2daf3b0bc2ac16e7332df324bcacf09a1f6759c89573abce3c544d51f3c5a28a03c83d0b70933dd1a5f7241e501ca6eaf2d1be9aa25e8fe90c5764dcee5990d5 +DIST kerbal_space_program_1_12_4_03187_59948.sh 2084821338 BLAKE2B 80f26d9f3a5222a104a671ffb269ace7fc349ec86453c941c98ee6ca47005319a924d355b6d5bc76a697bde485522f4aeb99a9145f95933d42aa6f3e0cd4c984 SHA512 cb94acd636b1c13483af14e6186f780b503fa0a0f25ecfae7c2481739b6d0a4b90064de698e9d865883a01fd44014220fa007ee51c4a6dc02a380b90d63620e3 diff --git a/games-simulation/kerbal-space-program/kerbal-space-program-1.12.1.ebuild b/games-simulation/kerbal-space-program/kerbal-space-program-1.12.4.ebuild index 5de86f3..736d640 100644 --- a/games-simulation/kerbal-space-program/kerbal-space-program-1.12.1.ebuild +++ b/games-simulation/kerbal-space-program/kerbal-space-program-1.12.4.ebuild @@ -1,19 +1,16 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit eutils +inherit desktop unpacker DESCRIPTION="A space flight simulation" HOMEPAGE="http://kerbalspaceprogram.com/" -GOG_MAGIC="03142_48164" +GOG_MAGIC="03187_59948" -SRC_PH="${PN//-/_}@PH@_${PV//./_}_${GOG_MAGIC}.sh" -SRC_URI=" - l10n_en? ( ${SRC_PH//@PH@/} ) -" +SRC_URI="${PN//-/_}_${PV//./_}_${GOG_MAGIC}.sh" RESTRICT="fetch strip" LICENSE="all-rights-reserved" @@ -21,9 +18,8 @@ LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="-* ~amd64" -L10NS="l10n_en" #l10n_es l10n_fr l10n_it l10n_ja l10n_pt-BR l10n_ru l10n_zh-CN" -IUSE="${L10NS}" -REQUIRED_USE="^^ ( ${L10NS} )" +#L10NS="l10n_en" #l10n_es l10n_fr l10n_it l10n_ja l10n_pt-BR l10n_ru l10n_zh-CN" +IUSE="" DEPEND="app-arch/unzip" RDEPEND=" @@ -53,13 +49,12 @@ src_unpack() { mkdir "${tmp}" || die "mkdir 'tmp' failed" cd "${tmp}" || die "cd 'tmp' failed" - - unzip -q "${DISTDIR}/${A}" + unpack_zip "${A}" local gpath="data/noarch/game" - mv "${gpath}" "${S}" + mv "${gpath}" "${S}" || die "mv failed" - cd "${S}" + cd "${S}" || die "cd 'workdir' failed" #use l10n_de && unzip -oq ksp-lang-de-de.zip && rm ksp-lang-de-de.zip #use l10n_es && unzip -oq ksp-lang-es-es.zip && rm ksp-lang-es-es.zip |