diff options
author | Matt Jolly <Matt.Jolly@footclan.ninja> | 2022-08-27 20:06:13 +1000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-29 23:53:10 +0100 |
commit | 8fafd13b380b8a883e799c0f4b1463e7d3b5802d (patch) | |
tree | 8454830551a3b13d485cf764022ac861f96456a3 /games-fps/alephone-marathon | |
parent | licenses: add bungie-marathon (diff) | |
download | gentoo-8fafd13b380b8a883e799c0f4b1463e7d3b5802d.tar.gz gentoo-8fafd13b380b8a883e799c0f4b1463e7d3b5802d.tar.bz2 gentoo-8fafd13b380b8a883e799c0f4b1463e7d3b5802d.zip |
games-fps/alephone-marathon: new package: 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-marathon')
-rw-r--r-- | games-fps/alephone-marathon/Manifest | 1 | ||||
-rw-r--r-- | games-fps/alephone-marathon/alephone-marathon-20220115.ebuild | 37 | ||||
-rw-r--r-- | games-fps/alephone-marathon/metadata.xml | 16 |
3 files changed, 54 insertions, 0 deletions
diff --git a/games-fps/alephone-marathon/Manifest b/games-fps/alephone-marathon/Manifest new file mode 100644 index 000000000000..4395a19b6a3f --- /dev/null +++ b/games-fps/alephone-marathon/Manifest @@ -0,0 +1 @@ +DIST Marathon-20220115-Data.zip 26473230 BLAKE2B d6a917c0e884d128af11a56473cd4ec0022ca373c4c1e33f39b58ed24cd65a3cb40efd3e874f9ef64be6d3bf39206cd3a51310719223788d240747670075f697 SHA512 dd1eaaafcffe03b66244497c69044a3cabb8348186f1023dd08444a519a6fca59330bc5daf4950967482a12167059055d577e8211f3a70c92f512f74c8415bc8 diff --git a/games-fps/alephone-marathon/alephone-marathon-20220115.ebuild b/games-fps/alephone-marathon/alephone-marathon-20220115.ebuild new file mode 100644 index 000000000000..8feffa19fb8e --- /dev/null +++ b/games-fps/alephone-marathon/alephone-marathon-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 (M1A1)" +HOMEPAGE="http://marathon.sourceforge.net/" +SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/Marathon-${PV}-Data.zip" +S="${WORKDIR}/Marathon" + +LICENSE="bungie-marathon" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror" + +RDEPEND="games-fps/alephone" +BDEPEND="app-arch/unzip" + +MY_NAME="marathon" +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-marathon/metadata.xml b/games-fps/alephone-marathon/metadata.xml new file mode 100644 index 000000000000..2a5f1108e681 --- /dev/null +++ b/games-fps/alephone-marathon/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> |