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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon Jan 26 18:16:55 2015 UTC (5 years, 6 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

1 hasufell 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.4 # $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-20120727.ebuild,v 1.3 2012/10/17 03:55:13 phajdan.jr Exp $
4 hasufell 1.1
5     EAPI=4
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 phajdan.jr 1.3 KEYWORDS="amd64 x86"
18 hasufell 1.1 IUSE=""
19    
20     RDEPEND="games-rpg/mana"
21    
22     S=${WORKDIR}/${MY_P}
23    
24     src_prepare() {
25     epatch "${FILESDIR}"/${MY_PN}-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