From 42add7c12cd19a7e92ba49a7c174cf248f0e02cd Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 6 Apr 2021 22:15:48 +0000 Subject: games-arcade/aquaria: port to EAPI 7, games.eclass-- Signed-off-by: Sam James --- games-arcade/aquaria/aquaria-1.1.3-r1.ebuild | 54 ---------------------------- games-arcade/aquaria/aquaria-1.1.3-r2.ebuild | 51 ++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 54 deletions(-) delete mode 100644 games-arcade/aquaria/aquaria-1.1.3-r1.ebuild create mode 100644 games-arcade/aquaria/aquaria-1.1.3-r2.ebuild (limited to 'games-arcade/aquaria') diff --git a/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild b/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild deleted file mode 100644 index ff45a40ffdba..000000000000 --- a/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit unpacker eutils games - -DESCRIPTION="A 2D scroller set in a massive ocean world" -HOMEPAGE="http://www.bit-blot.com/aquaria/" -SRC_URI="aquaria-lnx-humble-bundle.mojo.run" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" -RESTRICT="strip fetch bindist" - -DEPEND="app-arch/unzip" -RDEPEND=" - >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)] - >=media-libs/openal-1.15.1[abi_x86_32(-)]" - -S=${WORKDIR}/data - -dir=${GAMES_PREFIX_OPT}/${PN} -QA_PREBUILT="${dir#/}/aquaria" - -pkg_nofetch() { - echo - elog "Download ${SRC_URI} from ${HOMEPAGE} and place it into" - elog "your DISTDIR directory." - echo -} - -src_unpack() { - unpack_zip ${A} -} - -src_install() { - insinto "${dir}" - exeinto "${dir}" - - doins -r *.xml */ - doexe "${PN}" - doicon "${PN}.png" - - dodoc README-linux.txt - mv "${ED}/${dir}"/docs "${ED}/usr/share/doc/${PF}/html" || die - dosym /usr/share/doc/${PF}/html "${dir}"/docs - - games_make_wrapper "${PN}" "./${PN}" "${dir}" - make_desktop_entry "${PN}" "Aquaria" - - prepgamesdirs -} diff --git a/games-arcade/aquaria/aquaria-1.1.3-r2.ebuild b/games-arcade/aquaria/aquaria-1.1.3-r2.ebuild new file mode 100644 index 000000000000..e1fb8b150c63 --- /dev/null +++ b/games-arcade/aquaria/aquaria-1.1.3-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop unpacker wrapper + +DESCRIPTION="A 2D scroller set in a massive ocean world" +HOMEPAGE="http://www.bit-blot.com/aquaria/" +SRC_URI="aquaria-lnx-humble-bundle.mojo.run" +S="${WORKDIR}"/data + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="strip fetch bindist" + +RDEPEND=" + >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)] + >=media-libs/openal-1.15.1[abi_x86_32(-)]" +BDEPEND="app-arch/unzip" + +dir=opt/${PN} +QA_PREBUILT="${dir#/}/aquaria" + +pkg_nofetch() { + echo + elog "Download ${SRC_URI} from ${HOMEPAGE} and place it into" + elog "your DISTDIR directory." + echo +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + insinto ${dir} + exeinto ${dir} + + doins -r *.xml */ + doexe ${PN} + doicon ${PN}.png + + dodoc README-linux.txt + mv "${ED}/${dir}"/docs "${ED}/usr/share/doc/${PF}/html" || die + dosym ../../../usr/share/doc/${PF}/html ${dir}/docs + + make_wrapper "${PN}" "./${PN}" "${dir}" + make_desktop_entry "${PN}" "Aquaria" +} -- cgit v1.2.3-65-gdbad