diff options
author | Matt Jolly <Matt.Jolly@footclan.ninja> | 2022-08-27 20:12:03 +1000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-29 23:53:10 +0100 |
commit | 7780f0f2fedc48c08a417561f13347509374359a (patch) | |
tree | d6f09647bd52f8d46b816371af1cf5a587a781a3 /games-fps/alephone-durandal | |
parent | games-fps/alephone-marathon: new package: 20220115 (diff) | |
download | gentoo-7780f0f2fedc48c08a417561f13347509374359a.tar.gz gentoo-7780f0f2fedc48c08a417561f13347509374359a.tar.bz2 gentoo-7780f0f2fedc48c08a417561f13347509374359a.zip |
games-fps/alephone-durandal: new package, add 20220115
Closes: https://bugs.gentoo.org/82908
Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps/alephone-durandal')
-rw-r--r-- | games-fps/alephone-durandal/Manifest | 1 | ||||
-rw-r--r-- | games-fps/alephone-durandal/alephone-durandal-20220115.ebuild | 37 | ||||
-rw-r--r-- | games-fps/alephone-durandal/metadata.xml | 16 |
3 files changed, 54 insertions, 0 deletions
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>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <maintainer type="person"> + <email>Matt.Jolly@footclan.ninja</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> |