From c22b60cc50cd898c1eb60da6a25d1b240e4074c6 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Tue, 4 Mar 2025 23:58:03 +1000 Subject: [PATCH] games-fps/alephone-durandal: add 20250302 Signed-off-by: Matt Jolly --- games-fps/alephone-durandal/Manifest | 1 + .../alephone-durandal-20250302.ebuild | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 games-fps/alephone-durandal/alephone-durandal-20250302.ebuild diff --git a/games-fps/alephone-durandal/Manifest b/games-fps/alephone-durandal/Manifest index 5d03c7d5ae56f..2636ff06fc320 100644 --- a/games-fps/alephone-durandal/Manifest +++ b/games-fps/alephone-durandal/Manifest @@ -1 +1,2 @@ DIST Marathon2-20240822-Data.zip 28902408 BLAKE2B a0b2f0c565bd11b0f9360198f121d86ada6d76b2a49cce95a46285674135ec79ecaa267305804b167130603f791956c1aed03d653f1a0768301bdb5148b0e718 SHA512 65cedbc20b70f2ae6382e5dfa28cf1c108c4726b75d7c25fccae8e0d29a0cf60e8bdc8eca23fb4224131527e5be3dca732f4af22389ca61b2e531121969589db +DIST Marathon2-20250302-Data.zip 28902408 BLAKE2B a7b75b5c29748e0aca3ee8ef6b253d2b691d3458cf151ee897f8bc35449b3f85f0de3315079d7c6462229815385bf4a3362d5b19262cda52467fa2791b2b0b02 SHA512 0b70f2daa6568dd96681eaf9c3949232b58ceda2e16fbdb1451864249f442c42666619fc111e060b0c0e46165c8752dc1be882d310afeaaf4d6338c7e2d357ec diff --git a/games-fps/alephone-durandal/alephone-durandal-20250302.ebuild b/games-fps/alephone-durandal/alephone-durandal-20250302.ebuild new file mode 100644 index 0000000000000..78668d51effff --- /dev/null +++ b/games-fps/alephone-durandal/alephone-durandal-20250302.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +DESCRIPTION="Aleph One - Marathon 2 (Durandal)" +HOMEPAGE="https://alephone.lhowon.org/" +SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/Marathon2-${PV}-Data.zip" +S="${WORKDIR}/Marathon 2" + +LICENSE="bungie-marathon" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror" + +RDEPEND="games-fps/alephone" +BDEPEND="app-arch/unzip" + +MY_NAME="durandal" +MY_DIR="/usr/share/alephone-${MY_NAME}" + +src_install() { + insinto "${MY_DIR}" + doins -r * + + make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" + + # Make sure the extra dirs exist in case the user wants to add some data + keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes} +} + +pkg_postinst() { + elog "To play this scenario, run:" + elog "alephone.sh ${MY_NAME}" +}