logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: f8b60253a30bbd814b38b073b325bf4e346a20df
parent 7555ed065221c4a44c398c64b62108c28308de46
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 11 Dec 2023 21:09:34 +0100

games-fps/rtcw-data-gog: new package, add 2.0.0.2

Diffstat:

Agames-fps/rtcw-data-gog/Manifest1+
Agames-fps/rtcw-data-gog/rtcw-data-gog-2.0.0.2.ebuild30++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/games-fps/rtcw-data-gog/Manifest b/games-fps/rtcw-data-gog/Manifest @@ -0,0 +1 @@ +DIST setup_return_to_castle_wolfenstein_2.0.0.2.exe 798673040 BLAKE2B 96f5f062ca363e4aecfa1474a7547b5aaa636482c1c652377c8df1a331d5946d152af43a62e8b45242f9a5a5995dc50b2606bd51e6d02e47ab4b1fbb5d09198e SHA512 c7c3f306d5e859872442b8fe841ff2f47c8efb4dd924bc2ce1d0c69dbd4d4a89a2c5d1e6d5ff86eef818f17899ec72916ae0785f58000f18e8a1ea1e7ceafba3 diff --git a/games-fps/rtcw-data-gog/rtcw-data-gog-2.0.0.2.ebuild b/games-fps/rtcw-data-gog/rtcw-data-gog-2.0.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DESCRIPTION="Data files for Return To Castle Wolfenstein (RTCW) from gog.com" +HOMEPAGE="https://www.gog.com/game/return_to_castle_wolfenstein" +SRC_URI="setup_return_to_castle_wolfenstein_${PV}.exe" +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~m68k ~x86" +RESTRICT="bindist fetch" + +BDEPEND="app-arch/innoextract" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_install() { + innoextract --extract --lowercase \ + --include=/app/Main \ + "${DISTDIR}/${A}" || die + + insinto /usr/share/wolf + doins app/main/*.pk3 +}