summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-05-12 04:07:16 +0000
committerMike Frysinger <vapier@gentoo.org>2010-05-12 04:07:16 +0000
commit74dbdc7687b403ec68465a4eb8d1e641278d10aa (patch)
tree3f44ccb23fcc353c3ba25e74d7984606d2b36563 /games-arcade/aquaria
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-74dbdc7687b403ec68465a4eb8d1e641278d10aa.tar.gz
gentoo-2-74dbdc7687b403ec68465a4eb8d1e641278d10aa.tar.bz2
gentoo-2-74dbdc7687b403ec68465a4eb8d1e641278d10aa.zip
Initial ebuild by James Le Cuirot #319041.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade/aquaria')
-rw-r--r--games-arcade/aquaria/ChangeLog10
-rw-r--r--games-arcade/aquaria/aquaria-1.1.3.ebuild49
-rw-r--r--games-arcade/aquaria/metadata.xml5
3 files changed, 64 insertions, 0 deletions
diff --git a/games-arcade/aquaria/ChangeLog b/games-arcade/aquaria/ChangeLog
new file mode 100644
index 000000000000..506150fc76ff
--- /dev/null
+++ b/games-arcade/aquaria/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/aquaria
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/aquaria/ChangeLog,v 1.1 2010/05/12 04:07:16 vapier Exp $
+
+*aquaria-1.1.3 (12 May 2010)
+
+ 12 May 2010; Mike Frysinger <vapier@gentoo.org> +aquaria-1.1.3.ebuild,
+ +metadata.xml:
+ Initial ebuild by James Le Cuirot #319041.
+
diff --git a/games-arcade/aquaria/aquaria-1.1.3.ebuild b/games-arcade/aquaria/aquaria-1.1.3.ebuild
new file mode 100644
index 000000000000..c62f9673ff33
--- /dev/null
+++ b/games-arcade/aquaria/aquaria-1.1.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/aquaria/aquaria-1.1.3.ebuild,v 1.1 2010/05/12 04:07:16 vapier Exp $
+
+inherit 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="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip fetch"
+
+DEPEND="app-arch/unzip"
+RDEPEND="x86? ( media-libs/libsdl >=media-libs/openal-1.5 )
+ amd64? ( app-emulation/emul-linux-x86-sdl )"
+
+S="${WORKDIR}/data"
+
+src_unpack() {
+ # self unpacking zip archive; unzip warns about the exe stuff
+ local a="${DISTDIR}/${A}"
+ echo ">>> Unpacking ${a} to ${PWD}"
+ unzip -q "${a}"
+ [ $? -gt 1 ] && die "unpacking failed"
+}
+
+src_install() {
+ local dir="${GAMES_PREFIX_OPT}/${PN}"
+
+ insinto "${dir}"
+ exeinto "${dir}"
+
+ doins -r *.xml */ || die
+ doexe "${PN}" || die
+ doicon "${PN}.png" || die
+
+ dodoc README-linux.txt || die
+ mv "${D}/${dir}"/docs "${D}/usr/share/doc/${PF}/html" || die
+ dosym /usr/share/doc/${PF}/html "${dir}"/docs || die
+
+ games_make_wrapper "${PN}" "./${PN}" "${dir}" || die
+ make_desktop_entry "${PN}" "Aquaria" || die
+
+ prepgamesdirs
+}
diff --git a/games-arcade/aquaria/metadata.xml b/games-arcade/aquaria/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/aquaria/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>