diff options
author | Matt Jolly <Matt.Jolly@footclan.ninja> | 2022-12-03 22:35:13 +1100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-28 03:18:14 +0000 |
commit | 159cf5d466dd7bb69404d73c1df486f87cb9525a (patch) | |
tree | b5cb662a772c20a77451ec71c69e012407dd574d /games-action | |
parent | sys-apps/systemd-utils: add 252.4 (diff) | |
download | gentoo-159cf5d466dd7bb69404d73c1df486f87cb9525a.tar.gz gentoo-159cf5d466dd7bb69404d73c1df486f87cb9525a.tar.bz2 gentoo-159cf5d466dd7bb69404d73c1df486f87cb9525a.zip |
games-action/spacearyarya-kxl: add 1.0.3
Mirrored source to git and applied patches directly
Closes: https://bugs.gentoo.org/875425
Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/spacearyarya-kxl/Manifest | 1 | ||||
-rw-r--r-- | games-action/spacearyarya-kxl/metadata.xml | 3 | ||||
-rw-r--r-- | games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.3.ebuild | 49 |
3 files changed, 53 insertions, 0 deletions
diff --git a/games-action/spacearyarya-kxl/Manifest b/games-action/spacearyarya-kxl/Manifest index 7486f9d6158a..26781507dcf3 100644 --- a/games-action/spacearyarya-kxl/Manifest +++ b/games-action/spacearyarya-kxl/Manifest @@ -1,2 +1,3 @@ DIST SpaceAryarya-KXL-1.0.2.tar.gz 279894 BLAKE2B 1e7d24107d21396d4463924c7e5665271c14c6ba84f600f126128195ac9d6a08bd112cb6730b1931cf113700d7cae18367359639c8c8a10073a2395bcdc87948 SHA512 1109606741bab6c290395cdfd8d19cf12e68cfef41f50164586c316fc425a32232e0f8dd822207d969c27c3f7a8478d1a65f36fe5468f3cfa8932c99ab3cb125 +DIST space-aryarya-1.0.3.tar.bz2 267139 BLAKE2B 9893d9ca6b02533231bc6d391726048089be901ad879be58cdc90c910d9c9b973592b2e37af27b1498b1931bb9947eb601e7bf409b20158f7e6c76bc7f3e433f SHA512 327f1821e1457424d8fce15b33940328b191f1e2f849284e1709bcafa6a33279d4cf7639fba235dd3c7107d5b1c4dcae0425b34c013b87c2c7dc3c00bb9d2bac DIST spacearyarya-kxl.png 4853 BLAKE2B e8dcaf2e75f18900d67c68f75939ba030dc8207d4a2df1b465ce516527d846c4b44d105f85afcb0750dbfc6b33c9030da34c863b6e8f09f120d855d7361cce67 SHA512 f47c497f28c4cb22a518c8bc593a443aa0f52a600db04b6a3d33006b40aa57c11bdedd97a272587d6751bee04a593965c4f348ad5e7dff4deb276b7d89243e2e diff --git a/games-action/spacearyarya-kxl/metadata.xml b/games-action/spacearyarya-kxl/metadata.xml index 1c3ba213c494..361e5395db04 100644 --- a/games-action/spacearyarya-kxl/metadata.xml +++ b/games-action/spacearyarya-kxl/metadata.xml @@ -5,4 +5,7 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> +<upstream> + <remote-id type="gitlab">oss-abandonware/games-action/space-aryarya</remote-id> +</upstream> </pkgmetadata> diff --git a/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.3.ebuild b/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.3.ebuild new file mode 100644 index 000000000000..5e7537d754e6 --- /dev/null +++ b/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop + +DESCRIPTION="2D/3D shooting game" +HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html" +SRC_URI=" + https://gitlab.com/oss-abandonware/games-action/space-aryarya/-/archive/${PV}/space-aryarya-${PV}.tar.bz2 + https://dev.gentoo.org/~ionen/distfiles/${PN}.png" +S="${WORKDIR}/space-aryarya-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + acct-group/gamestat + dev-games/KXL" +RDEPEND=" + ${DEPEND} + media-fonts/font-adobe-100dpi + media-fonts/font-bitstream-100dpi" + +src_prepare() { + default + + sed -i "s|DATA_PATH \"/.score\"|\"${EPREFIX}/var/games/${PN}.hs\"|" src/ranking.c || die + + eautoreconf +} + +src_install() { + emake -C data DESTDIR="${D}" install-dataDATA + default + + rm "${ED}"/usr/share/SpaceAryarya/data/.score + insinto /var/games + newins data/.score ${PN}.hs + + fowners :gamestat /var/games/${PN}.hs /usr/bin/spacearyarya + fperms g+s /usr/bin/spacearyarya + fperms 660 /var/games/${PN}.hs + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry spacearyarya SpaceAryarya +} |