From 4c2f358bdc4d3aea7b0b0e0d350a7323572b11bc Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 2 Apr 2021 10:00:36 +0100 Subject: games-puzzle/pipepanic: fix RDEPEND typo Signed-off-by: Sam James --- games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild | 39 ------------------------ games-puzzle/pipepanic/pipepanic-0.1.3-r2.ebuild | 38 +++++++++++++++++++++++ 2 files changed, 38 insertions(+), 39 deletions(-) delete mode 100644 games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild create mode 100644 games-puzzle/pipepanic/pipepanic-0.1.3-r2.ebuild diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild b/games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild deleted file mode 100644 index bc849e724279..000000000000 --- a/games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit desktop - -DESCRIPTION="A simple pipe connecting game" -HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/" -SRC_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/${P}-source.tar.gz" - -LICENSE="GPL-2 FreeArt" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/libsdl[video]" -RDEPEND="${RDEPEND}" - -S="${WORKDIR}/${P}-source" - -src_prepare() { - default - eapply "${FILESDIR}"/${P}-gentoo.patch - # change harcoded data paths to match the install directory - sed -i \ - -e "s:/opt/QtPalmtop/share/pipepanic/:/usr/share/${PN}/:" \ - main.h \ - || die "sed failed" -} - -src_install() { - dobin "${PN}" - - insinto "/usr/share/${PN}" - doins *.bmp - newicon PipepanicIcon64.png ${PN}.png - make_desktop_entry ${PN} "Pipepanic" - einstalldocs -} diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3-r2.ebuild b/games-puzzle/pipepanic/pipepanic-0.1.3-r2.ebuild new file mode 100644 index 000000000000..126465820912 --- /dev/null +++ b/games-puzzle/pipepanic/pipepanic-0.1.3-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop + +DESCRIPTION="A simple pipe connecting game" +HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/" +SRC_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/${P}-source.tar.gz" +S="${WORKDIR}"/${P}-source + +LICENSE="GPL-2 FreeArt" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="media-libs/libsdl[video]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-gentoo.patch + # change harcoded data paths to match the install directory + sed -i \ + -e "s:/opt/QtPalmtop/share/pipepanic/:/usr/share/${PN}/:" \ + main.h \ + || die "sed failed" +} + +src_install() { + dobin ${PN} + + insinto /usr/share/${PN} + doins *.bmp + newicon PipepanicIcon64.png ${PN}.png + make_desktop_entry ${PN} "Pipepanic" + einstalldocs +} -- cgit v1.2.3-65-gdbad