games-fps/alephone-infinity: add 20250302

Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
Matt Jolly
2025-03-04 23:58:23 +10:00
parent c22b60cc50
commit f85f189ca4
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST MarathonInfinity-20240822-Data.zip 31852152 BLAKE2B 8360a413a9d813b315d7c012965fa54ad480a99dad4e44135d2e4fbab96fa92b604f9004a0a0456f86fbda070c28c7fb504ad2d7aa7347eeb53633b036320d75 SHA512 354dac31983d5ff516c8326fdb915411d06b27a6e3089c0ced9723d1604aacce2e1cb299e1c59cbea06180c388472a8757091582c232693ae7c219bd9bb774a9
DIST MarathonInfinity-20250302-Data.zip 31852152 BLAKE2B 0a499f8f39c15347997f16f99383255f903abffb56f436be3a53c07a6fc77c80671115466c977652c5212970ef31c4c84968a410dc0d073c9f1b540cd76f5b73 SHA512 2a0c451adddb3fbe994277ace3df128173778c63a7d081541d57e298bf1676127431ac80f30d66eb36be1600f7a1883339ddc937c17f718f1447ffb2d7efe69a

View File

@@ -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 Infinity"
HOMEPAGE="https://alephone.lhowon.org/"
SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/MarathonInfinity-${PV}-Data.zip"
S="${WORKDIR}/Marathon Infinity"
LICENSE="bungie-marathon"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
RDEPEND="games-fps/alephone"
BDEPEND="app-arch/unzip"
MY_NAME="infinity"
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}"
}