/[gentoo-x86]/games-arcade/funnyboat/funnyboat-1.5-r1.ebuild
Gentoo

Contents of /games-arcade/funnyboat/funnyboat-1.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Feb 10 10:10:46 2015 UTC (3 years, 7 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Stable for x86, wrt bug #539180

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/funnyboat/funnyboat-1.5-r1.ebuild,v 1.5 2015/02/07 13:29:53 ago Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7 inherit eutils gnome2-utils python-single-r1 games
8
9 DESCRIPTION="A side scrolling shooter game starring a steamboat on the sea"
10 HOMEPAGE="http://funnyboat.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
12
13 LICENSE="GPL-2 MIT"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
16 IUSE=""
17 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
18
19 DEPEND="${PYTHON_DEPS}"
20 RDEPEND="${DEPEND}
21 >=dev-python/pygame-1.6.2[${PYTHON_USEDEP}]"
22 DEPEND="${DEPEND}
23 app-arch/unzip"
24
25 S=${WORKDIR}/${PN}
26
27 pkg_setup() {
28 python-single-r1_pkg_setup
29 games_pkg_setup
30 }
31
32 src_install() {
33 insinto "${GAMES_DATADIR}"/${PN}
34 doins -r data *.py
35 python_optimize "${ED%/}/${GAMES_DATADIR}"/${PN}
36
37 dodoc *.txt
38 games_make_wrapper ${PN} "${EPYTHON} main.py" "${GAMES_DATADIR}"/${PN}
39 newicon -s 32 data/kuvake.png ${PN}.png
40 make_desktop_entry ${PN} "Trip on the Funny Boat"
41 prepgamesdirs
42 }
43
44 pkg_preinst() {
45 games_pkg_preinst
46 gnome2_icon_savelist
47 }
48
49 pkg_postinst() {
50 games_pkg_postinst
51 gnome2_icon_cache_update
52 }
53
54 pkg_postrm() {
55 gnome2_icon_cache_update
56 }

  ViewVC Help
Powered by ViewVC 1.1.20