diff options
author | Sam James <sam@gentoo.org> | 2021-04-06 22:15:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-06 22:47:21 +0000 |
commit | 42add7c12cd19a7e92ba49a7c174cf248f0e02cd (patch) | |
tree | fb24927d9c55f9e68b26ee34be2c7eb9b0c0c6d1 /games-arcade/aquaria | |
parent | games-action/hotline-miami: port to EAPI 7, games.eclass-- (diff) | |
download | gentoo-42add7c12cd19a7e92ba49a7c174cf248f0e02cd.tar.gz gentoo-42add7c12cd19a7e92ba49a7c174cf248f0e02cd.tar.bz2 gentoo-42add7c12cd19a7e92ba49a7c174cf248f0e02cd.zip |
games-arcade/aquaria: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade/aquaria')
-rw-r--r-- | games-arcade/aquaria/aquaria-1.1.3-r2.ebuild (renamed from games-arcade/aquaria/aquaria-1.1.3-r1.ebuild) | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild b/games-arcade/aquaria/aquaria-1.1.3-r2.ebuild index ff45a40ffdba..e1fb8b150c63 100644 --- a/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild +++ b/games-arcade/aquaria/aquaria-1.1.3-r2.ebuild @@ -1,27 +1,26 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit unpacker eutils games +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" -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(-)]" +BDEPEND="app-arch/unzip" -S=${WORKDIR}/data - -dir=${GAMES_PREFIX_OPT}/${PN} +dir=opt/${PN} QA_PREBUILT="${dir#/}/aquaria" pkg_nofetch() { @@ -36,19 +35,17 @@ src_unpack() { } src_install() { - insinto "${dir}" - exeinto "${dir}" + insinto ${dir} + exeinto ${dir} doins -r *.xml */ - doexe "${PN}" - doicon "${PN}.png" + 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 + dosym ../../../usr/share/doc/${PF}/html ${dir}/docs - games_make_wrapper "${PN}" "./${PN}" "${dir}" + make_wrapper "${PN}" "./${PN}" "${dir}" make_desktop_entry "${PN}" "Aquaria" - - prepgamesdirs } |