diff options
Diffstat (limited to 'games-arcade/aquaria/aquaria-1.1.3-r1.ebuild')
-rw-r--r-- | games-arcade/aquaria/aquaria-1.1.3-r1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild b/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild new file mode 100644 index 000000000000..eee55b17b05f --- /dev/null +++ b/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 + +pkg_nofetch() { + echo + elog "Download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}" + echo +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + local dir="${GAMES_PREFIX_OPT}/${PN}" + + 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 +} |