summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-simulation/kerbal-space-program/Manifest10
-rw-r--r--games-simulation/kerbal-space-program/files/ksp-wrapper5
-rw-r--r--games-simulation/kerbal-space-program/kerbal-space-program-1.6.1.ebuild (renamed from games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild)37
3 files changed, 18 insertions, 34 deletions
diff --git a/games-simulation/kerbal-space-program/Manifest b/games-simulation/kerbal-space-program/Manifest
index e1df591..96fd0df 100644
--- a/games-simulation/kerbal-space-program/Manifest
+++ b/games-simulation/kerbal-space-program/Manifest
@@ -1,9 +1 @@
-DIST kerbal_space_program_de_1_4_5_02243_22594.sh 1001550902 SHA256 0689121d4b6474f37a59889909fb4a430baebce4afa45d5d6b822c78e552d169 SHA512 d756a6f38bdaa602e73c23d5792976c504a8dca768a00d6734ff12f219bd7bf23ef00460359d0dfbf28a05b328377df8dac7aca0ba91901182f13c05d982d5ee WHIRLPOOL 31b2cbef8162dae8a1c7a6087d9a9aef23957ce8ededd3a674328662acf8751061f13c7faaa1871b23becd56d07ed00ca94a0a228084b2ce4c732f69142c9551
-DIST kerbal_space_program_en_1_4_5_02243_22594.sh 923509794 SHA256 b7c112c25b7365e5f9448c802267d05b8d630dc650ff87bae1cba89ac929d3a8 SHA512 ddf8a0174472530c13f59b6c564285b4f8a455c0e728f8777fc75d32c03839313f7c03f5e4a933e9efba4b8f3cd7b428ee0baa40d6d6240720dbe0cc2902b3e8 WHIRLPOOL fb8e3415f5e4e7afdb66a40e7fc46ca69041518228dc43290ac44a626c3f75a8e2ab377961e3f16c7afbd15ae973cf8b6ab61cb7a1177ea5c1f59c5d32174d6e
-DIST kerbal_space_program_es_1_4_5_02243_22594.sh 918684741 SHA256 f16c0bf7ca058e32e86f51dfd6f0a52cf93d78100d0c6c0cd1ef267e05ee1435 SHA512 bf8735348c919ab76da8e51bfe6bf20460ffb187716134f97d3ab9b470ec31a0835f134f68ed82dd9d0ea80f16b5aefa2225082f89a9356d5a581b6ce1e54f3c WHIRLPOOL a486d0ae6cb2bb00d7e15a0b1b5f73b6b55c7cc469c94ec58204006df1bc0e8ee2c54e5b8800de48d35ef31d1177072bd4ac17e661a4c53699c76ba39c80c72c
-DIST kerbal_space_program_fr_1_4_5_02243_22594.sh 1006713655 SHA256 b1245490532d768618aa50d15606fabdd8ab8b1d491064e8f1dc40db01371997 SHA512 651e16fbea8f65a8c4af272c5dcebe621ac74a14666a2299882471c60f70b2235dc97448436a29951637647a1805b18fc8a062853b7e90af61b47ab88b7232c2 WHIRLPOOL 6d0dcd893a0872932532f112484cc85021add65adc94f6fec43a99e14f63ee2d78dfed809a2f186344cd23383335b7dd90182cec0408f27ee61937964de219ad
-DIST kerbal_space_program_it_1_4_5_02243_22594.sh 1005985727 SHA256 da281a633b742cc0dd4bbb6e7f1123bbe5a158ddab0c7e852404312b5dd97882 SHA512 935858826cba14d21106c5b06f7684528cdeeda47a474bab1625243c6bed86cd818d83ffb737d3af31487e690e025791f76f65ab11bf03046b2f648158e3f0af WHIRLPOOL 28a6c693f35104e68fc45b99045f9d52366a6733d15929c557c96352ea76ff3241aec892e230ad3553dc7e5bb65692fa3691638e2a3db0990befc82422c5ca97
-DIST kerbal_space_program_ja_1_4_5_02243_22594.sh 1007578361 SHA256 28b252096627870cd438a12d2925884bf302a5b35dc6e5c7301cb88036eb0ee5 SHA512 0c701303b655bceb4cf49e60a0efddcc5b0961227b3b7613d3f834d75b35034745def6ef46b39d694daa621475febcb28103379c834199626334a74872c71c59 WHIRLPOOL d30f1a4bbceb872bedf0f362b668df82482c85185a3054131b5193d51d1d9c54086e171766bd8c013076574fe7ee4eb7e916c0104c0e978908ae57f6270f5cf6
-DIST kerbal_space_program_pt_1_4_5_02243_22594.sh 975851404 SHA256 fd7193edc51af3ed9a7e9539be432be19701d3741beacbc99d578764c08efd02 SHA512 7aa99fa9cb365e86f469a885f6c59790de46e019f1925054b23c262d50ab05d5df377e48aa05da06057b29430ca86afe5aac4d2df60ceb400e9edfd2e0042616 WHIRLPOOL 87ecc13f903ead376edf53e1cc8d3e994722d5d4c17b4aa5767afee1acab6f941a3b76bdef6441d872438f4c071b97daa4c3ffe8c43a26907f7314fb9df0c6cf
-DIST kerbal_space_program_ru_1_4_5_02243_22594.sh 920112852 SHA256 1e6f6abac3cfc4afc10b2afa58b4347b8e06680feb51a27db4c6f4963f696938 SHA512 7c12ca917b0d73688015e1206ecbd31ae415678df98b8409225eb7ea0b3d86bf2929e247f1eb6f0b32917626ff26e8babdd33ba337213ce72b7bc1cb2ccf0fb2 WHIRLPOOL da34fe19cf4d9b2855706d4b9f005e3dda24854fffe5c1bcdcbcabc2db162c298161a024f3213b7941dced14bb27338302062cf9c48bcb606d208d4b197faeaa
-DIST kerbal_space_program_zh_1_4_5_02243_22594.sh 1027277354 SHA256 5369fd2a2f39c1ec1e603a807994de43ffc6252df6fb430e67facf2a315c661d SHA512 c47a17d2dc2f5377d97ba54a58177cbc6bc52178940fa90ff16b0189fcafa977b070abadc9b1578981400c3ec68e4d2b33d707301f0214ed7cc32b4ccb208fe7 WHIRLPOOL 2e16ebd689488eb40d0d88dbed6af8f48b991c0cb61462f88b02f35e94dbcca02b8b86d30fff78651998c13e0bc5f5eecb55762bd0c406b74ff88ac980700f8a
+DIST kerbal_space_program_1_6_1_26533.sh 1040134057 SHA256 03b32ecca26ac153a5187ed1c0202cdbee64e13d843220094f8858c333e1a95e SHA512 c17893a6fc399464f5b32493aa14491a7e7b1dfca7114e513d65ce3c7d2edc09145a5fda813cf1aa21997d325f1e939b6731f0be7ad446d0aa8299cafbd2792b WHIRLPOOL 332dc3e395dc6ee18735b140cf1a87ae202ed0b59a40c6dae0a021882ffff1452f1f4a25eb73e305fec4357c59eeaea9b5eb66a0f523bcf68b30d9a4833ce05f
diff --git a/games-simulation/kerbal-space-program/files/ksp-wrapper b/games-simulation/kerbal-space-program/files/ksp-wrapper
index fcbf49a..2d3acc5 100644
--- a/games-simulation/kerbal-space-program/files/ksp-wrapper
+++ b/games-simulation/kerbal-space-program/files/ksp-wrapper
@@ -3,8 +3,9 @@
arch="$(uname -m)"
arch="${arch/i[2-6]/x}"
PV="__PV__"
-s_dir="/usr/share/kerbal-space-program-${PV}"
-t_dir="${HOME}/.local/share/kerbal-space-program"
+PN="__PN__"
+s_dir="/usr/share/${PN}"
+t_dir="${HOME}/.local/share/${PN}"
mkdir -p "${t_dir}"
diff --git a/games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild b/games-simulation/kerbal-space-program/kerbal-space-program-1.6.1.ebuild
index e61c442..772b8f1 100644
--- a/games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild
+++ b/games-simulation/kerbal-space-program/kerbal-space-program-1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,19 +8,11 @@ inherit eutils
DESCRIPTION="A space flight simulation"
HOMEPAGE="http://kerbalspaceprogram.com/"
-GOG_MAGIC="22594"
+GOG_MAGIC="26533"
SRC_PH="${PN//-/_}@PH@_${PV//./_}_${GOG_MAGIC}.sh"
SRC_URI="
- l10n_de? ( ${SRC_PH//@PH@/_de} )
- l10n_en? ( ${SRC_PH//@PH@/_en} )
- l10n_es? ( ${SRC_PH//@PH@/_es} )
- l10n_fr? ( ${SRC_PH//@PH@/_fr} )
- l10n_it? ( ${SRC_PH//@PH@/_it} )
- l10n_ja? ( ${SRC_PH//@PH@/_ja} )
- l10n_pt-BR? ( ${SRC_PH//@PH@/_pt} )
- l10n_ru? ( ${SRC_PH//@PH@/_ru} )
- l10n_zh-CN? ( ${SRC_PH//@PH@/_zh} )
+ l10n_en? ( ${SRC_PH//@PH@/} )
"
RESTRICT="fetch strip"
@@ -29,7 +21,7 @@ LICENSE="EULA"
SLOT="0"
KEYWORDS="amd64 x86"
-L10NS="l10n_de l10n_en l10n_es l10n_fr l10n_it l10n_ja l10n_pt-BR l10n_ru l10n_zh-CN"
+L10NS="l10n_en " #l10n_es l10n_fr l10n_it l10n_ja l10n_pt-BR l10n_ru l10n_zh-CN"
IUSE="${L10NS}"
REQUIRED_USE="^^ ( ${L10NS} )"
@@ -69,25 +61,24 @@ src_unpack() {
cd "${S}"
- 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
- use l10n_fr && unzip -oq ksp-lang-fr-fr.zip && rm ksp-lang-fr-fr.zip
- use l10n_it && unzip -oq ksp-lang-it-it.zip && rm ksp-lang-it-it.zip
- use l10n_ja && unzip -oq ksp-lang-ja.zip && rm ksp-lang-ja.zip
- use l10n_pt-BR && unzip -oq ksp-lang-pt-br.zip && rm ksp-lang-pt-br.zip
- use l10n_ru && unzip -oq ksp-lang-ru.zip && rm ksp-lang-ru.zip
- use l10n_zh-CN && unzip -oq ksp-lang-zh-cn.zip && rm ksp-lang-zh-cn.zip
+ #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
+ #use l10n_fr && unzip -oq ksp-lang-fr-fr.zip && rm ksp-lang-fr-fr.zip
+ #use l10n_it && unzip -oq ksp-lang-it-it.zip && rm ksp-lang-it-it.zip
+ #use l10n_ja && unzip -oq ksp-lang-ja.zip && rm ksp-lang-ja.zip
+ #use l10n_pt-BR && unzip -oq ksp-lang-pt-br.zip && rm ksp-lang-pt-br.zip
+ #use l10n_ru && unzip -oq ksp-lang-ru.zip && rm ksp-lang-ru.zip
+ #use l10n_zh-CN && unzip -oq ksp-lang-zh-cn.zip && rm ksp-lang-zh-cn.zip
rm -r "${WORKDIR}/tmp"
find . -name .DS_Store -delete
- sed -e "s@__PV__@${PV}@" "${FILESDIR}/ksp-wrapper" > "${T}"/ksp-wrapper
+ sed -e "s@__PV__@${PV}@" -e "s@__PN__@${PN}@" "${FILESDIR}/ksp-wrapper" > "${T}"/ksp-wrapper
}
src_install() {
- local arch="${ARCH//amd/x86_}"
- local dir="/usr/share/${PF}"
+ local dir="/usr/share/${PN}"
insinto "${dir}"
exeinto "${dir}"