mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
49
games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.3.ebuild
Normal file
49
games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user