blob: ff45a40ffdbac92cb7a466f10587e7fab8ac9e78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# 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
}
|