From 8fafd13b380b8a883e799c0f4b1463e7d3b5802d Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Sat, 27 Aug 2022 20:06:13 +1000 Subject: games-fps/alephone-marathon: new package: 20220115 Closes: https://bugs.gentoo.org/82908 Signed-off-by: Matt Jolly Signed-off-by: Sam James --- games-fps/alephone-marathon/Manifest | 1 + .../alephone-marathon-20220115.ebuild | 37 ++++++++++++++++++++++ games-fps/alephone-marathon/metadata.xml | 16 ++++++++++ 3 files changed, 54 insertions(+) create mode 100644 games-fps/alephone-marathon/Manifest create mode 100644 games-fps/alephone-marathon/alephone-marathon-20220115.ebuild create mode 100644 games-fps/alephone-marathon/metadata.xml (limited to 'games-fps') 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 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + Matt.Jolly@footclan.ninja + Matt Jolly + + + Aleph-One-Marathon/alephone + marathon + + -- cgit v1.2.3-65-gdbad