From 3edb7e2e494e96c71008051b9d2ae9327364f5d9 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 23 Aug 2021 04:48:30 +0100 Subject: games-arcade/pachi: fix group of binary Closes: https://bugs.gentoo.org/809353 Signed-off-by: Sam James --- games-arcade/pachi/pachi-1.0-r1.ebuild | 50 ---------------------------------- games-arcade/pachi/pachi-1.0-r2.ebuild | 50 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 games-arcade/pachi/pachi-1.0-r1.ebuild create mode 100644 games-arcade/pachi/pachi-1.0-r2.ebuild (limited to 'games-arcade') diff --git a/games-arcade/pachi/pachi-1.0-r1.ebuild b/games-arcade/pachi/pachi-1.0-r1.ebuild deleted file mode 100644 index d8cfae4ed69f..000000000000 --- a/games-arcade/pachi/pachi-1.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop - -DESCRIPTION="platform game inspired by games like Manic Miner and Jet Set Willy" -HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en" -# Upstream doesn't version their releases. -# (should be downloaded and re-compressed with tar -jcvf) -#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -S="${WORKDIR}"/Pachi - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - media-libs/libsdl[joystick,sound,video] - media-libs/sdl-mixer[mod] -" -RDEPEND=" - ${DEPEND} - acct-group/gamestat -" - -PATCHES=( - "${FILESDIR}"/${PV}-autotools.patch -) - -src_prepare() { - default - - rm -f missing || die - mv configure.in configure.ac || die - eautoreconf -} - -src_install() { - default - - newicon Tgfx/icon.bmp ${PN}.bmp - make_desktop_entry ${PN} Pachi /usr/share/pixmaps/${PN}.bmp - - fowners root:gamestat /var/lib/${PN}/data/scores.dat - fperms 660 /var/lib/${PN}/data/scores.dat - fperms g+s /usr/bin/${PN} -} diff --git a/games-arcade/pachi/pachi-1.0-r2.ebuild b/games-arcade/pachi/pachi-1.0-r2.ebuild new file mode 100644 index 000000000000..00da8955ee37 --- /dev/null +++ b/games-arcade/pachi/pachi-1.0-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +DESCRIPTION="platform game inspired by games like Manic Miner and Jet Set Willy" +HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en" +# Upstream doesn't version their releases. +# (should be downloaded and re-compressed with tar -jcvf) +#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +S="${WORKDIR}"/Pachi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-mixer[mod] +" +RDEPEND=" + ${DEPEND} + acct-group/gamestat +" + +PATCHES=( + "${FILESDIR}"/${PV}-autotools.patch +) + +src_prepare() { + default + + rm -f missing || die + mv configure.in configure.ac || die + eautoreconf +} + +src_install() { + default + + newicon Tgfx/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} Pachi /usr/share/pixmaps/${PN}.bmp + + fowners root:gamestat /var/lib/${PN}/data/scores.dat /usr/bin/${PN} + fperms 660 /var/lib/${PN}/data/scores.dat + fperms g+s /usr/bin/${PN} +} -- cgit v1.2.3-65-gdbad