/[gentoo-x86]/games-rpg/tmw/tmw-20130201.ebuild
Gentoo

Contents of /games-rpg/tmw/tmw-20130201.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jun 29 09:37:20 2013 UTC (7 years ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #474446

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

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-20130201.ebuild,v 1.2 2013/06/29 09:36:28 ago Exp $
4
5 EAPI=5
6 inherit eutils gnome2-utils games
7
8 MY_PN=${PN}-branding
9 MY_P=${MY_PN}-${PV}
10
11 DESCRIPTION="Branding for the Mana client for server.themanaworld.org"
12 HOMEPAGE="http://themanaworld.org/"
13 SRC_URI="mirror://sourceforge/themanaworld/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 x86"
18 IUSE=""
19
20 RDEPEND="games-rpg/manaplus"
21
22 S=${WORKDIR}/${MY_P}
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${MY_P}-gentoo.patch
26
27 sed -i \
28 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
29 ${PN} ${PN}.desktop \
30 || die "sed failed"
31 }
32
33 src_install() {
34 dogamesbin ${PN}
35
36 insinto "${GAMES_DATADIR}/${PN}/"
37 doins ${PN}.mana
38 doins -r data/
39
40 domenu ${PN}.desktop
41
42 doicon -s 32 data/icons/${PN}.xpm
43 doicon data/icons/${PN}.png
44
45 prepgamesdirs
46 }
47
48 pkg_preinst() {
49 games_pkg_preinst
50 gnome2_icon_savelist
51 }
52
53 pkg_postinst() {
54 games_pkg_postinst
55 gnome2_icon_cache_update
56 }
57
58 pkg_postrm() {
59 gnome2_icon_cache_update
60 }

  ViewVC Help
Powered by ViewVC 1.1.20