From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- games-arcade/aquaria/aquaria-1.1.3-r3.ebuild | 52 ++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 games-arcade/aquaria/aquaria-1.1.3-r3.ebuild (limited to 'games-arcade/aquaria/aquaria-1.1.3-r3.ebuild') diff --git a/games-arcade/aquaria/aquaria-1.1.3-r3.ebuild b/games-arcade/aquaria/aquaria-1.1.3-r3.ebuild new file mode 100644 index 000000000000..c052fc1b10ad --- /dev/null +++ b/games-arcade/aquaria/aquaria-1.1.3-r3.ebuild @@ -0,0 +1,52 @@ +# 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} + doins -r *.xml */ + + exeinto ${dir} + 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