commit:     b7dc59895a591302745b0917e698a6e3fe6a9dd6
Author:     Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Sat Aug 27 10:25:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 22:53:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7dc5989

games-fps/alephone-infinity: new package, add 20220115

Closes: https://bugs.gentoo.org/82908
Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/27031
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/alephone-infinity/Manifest               |  1 +
 .../alephone-infinity-20220115.ebuild              | 37 ++++++++++++++++++++++
 games-fps/alephone-infinity/metadata.xml           | 16 ++++++++++
 3 files changed, 54 insertions(+)

diff --git a/games-fps/alephone-infinity/Manifest 
b/games-fps/alephone-infinity/Manifest
new file mode 100644
index 000000000000..ffbb5a9efc2d
--- /dev/null
+++ b/games-fps/alephone-infinity/Manifest
@@ -0,0 +1 @@
+DIST MarathonInfinity-20220115-Data.zip 32203483 BLAKE2B 
c00e1ff6b4fc053e9df7f15711a73fd46f8e978714a7755137d1d9228a11715f5f3f161af17c1bd9d8bb9b6aaa4ae8292f5d007223c0c14b9a37a5f3e466675c
 SHA512 
b37865f9f8e7ec14995e3ef5df8c3b3a8badc12fc1dc2388beaad90863e40f4fc589a08482e11a9ab21b7b1659c2248a340083ae0d0166689a4377a07d3c03ae

diff --git a/games-fps/alephone-infinity/alephone-infinity-20220115.ebuild 
b/games-fps/alephone-infinity/alephone-infinity-20220115.ebuild
new file mode 100644
index 000000000000..2b0f0b0b8319
--- /dev/null
+++ b/games-fps/alephone-infinity/alephone-infinity-20220115.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+DESCRIPTION="Aleph One - Marathon Infinity"
+HOMEPAGE="http://marathon.sourceforge.net/";
+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}"
+}

diff --git a/games-fps/alephone-infinity/metadata.xml 
b/games-fps/alephone-infinity/metadata.xml
new file mode 100644
index 000000000000..2a5f1108e681
--- /dev/null
+++ b/games-fps/alephone-infinity/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Games Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Matt Jolly</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Aleph-One-Marathon/alephone</remote-id>
+               <remote-id type="sourceforge">marathon</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to