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

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

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

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

diff --git a/games-fps/alephone-durandal/Manifest 
b/games-fps/alephone-durandal/Manifest
new file mode 100644
index 000000000000..2fd3b7db5e63
--- /dev/null
+++ b/games-fps/alephone-durandal/Manifest
@@ -0,0 +1 @@
+DIST Marathon2-20220115-Data.zip 29710307 BLAKE2B 
eadf9dac7ad9bedec5b4484c74b5bc4c342223d209af0a4ce90c58649833642c8127a7c21ec87efe1d6229018d6b1002ca1a63b5ed8634103547796e1750c559
 SHA512 
3f259a865bd9d3709fdc79722e5b0cffd3ddfec981310a00898d2a1348c6b2ffcee0fe36a8ef2da26f235e800703e24ab8f33fbfb3ed8f96a6fc46f84808700f

diff --git a/games-fps/alephone-durandal/alephone-durandal-20220115.ebuild 
b/games-fps/alephone-durandal/alephone-durandal-20220115.ebuild
new file mode 100644
index 000000000000..3815c515b226
--- /dev/null
+++ b/games-fps/alephone-durandal/alephone-durandal-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 2 (Durandal)"
+HOMEPAGE="http://marathon.sourceforge.net/";
+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}"
+}

diff --git a/games-fps/alephone-durandal/metadata.xml 
b/games-fps/alephone-durandal/metadata.xml
new file mode 100644
index 000000000000..2a5f1108e681
--- /dev/null
+++ b/games-fps/alephone-durandal/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