diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-02-04 18:25:05 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-02-04 18:25:05 +0000 |
commit | 6d7afe4a3f19015fc40a944341a143e008634f2d (patch) | |
tree | 1ade92ee15e54ba8c9258497842917e32aab4638 /games-rpg | |
parent | initial import (diff) | |
download | gentoo-2-6d7afe4a3f19015fc40a944341a143e008634f2d.tar.gz gentoo-2-6d7afe4a3f19015fc40a944341a143e008634f2d.tar.bz2 gentoo-2-6d7afe4a3f19015fc40a944341a143e008634f2d.zip |
version bump
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/tmw/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/tmw/files/tmw-branding-20130201-gentoo.patch | 20 | ||||
-rw-r--r-- | games-rpg/tmw/tmw-20130201.ebuild | 60 |
3 files changed, 88 insertions, 2 deletions
diff --git a/games-rpg/tmw/ChangeLog b/games-rpg/tmw/ChangeLog index 25402727a734..1e2d276e3f6a 100644 --- a/games-rpg/tmw/ChangeLog +++ b/games-rpg/tmw/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-rpg/tmw -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.45 2012/10/17 03:55:13 phajdan.jr Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.46 2013/02/04 18:25:04 hasufell Exp $ + +*tmw-20130201 (04 Feb 2013) + + 04 Feb 2013; Julian Ospald <hasufell@gentoo.org> +tmw-20130201.ebuild, + +files/tmw-branding-20130201-gentoo.patch: + version bump 17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> tmw-20120727.ebuild: x86 stable wrt bug #435882 diff --git a/games-rpg/tmw/files/tmw-branding-20130201-gentoo.patch b/games-rpg/tmw/files/tmw-branding-20130201-gentoo.patch new file mode 100644 index 000000000000..b671d149a8c2 --- /dev/null +++ b/games-rpg/tmw/files/tmw-branding-20130201-gentoo.patch @@ -0,0 +1,20 @@ +--- tmw-branding-20130201/tmw ++++ tmw-branding-20130201/tmw +@@ -1,2 +1,2 @@ + #!/bin/sh +-exec manaplus /usr/share/tmw/tmw.mana "$@" ++exec manaplus @GENTOO_DATADIR@/tmw.mana "$@" +--- tmw-branding-20130201/tmw.desktop ++++ tmw-branding-20130201/tmw.desktop +@@ -8,9 +8,9 @@ + Comment[it]=Un gioco fantasy online + Comment[nl]=Een online role playing game + Comment[sv]=Ett fantasyrollspel online +-Exec=manaplus /usr/share/tmw/tmw.mana ++Exec=manaplus @GENTOO_DATADIR@/tmw.mana + StartupNotify=false + Terminal=false + Type=Application + Icon=tmw +-Categories=Application;Game; ++Categories=Game; diff --git a/games-rpg/tmw/tmw-20130201.ebuild b/games-rpg/tmw/tmw-20130201.ebuild new file mode 100644 index 000000000000..2324c23c3264 --- /dev/null +++ b/games-rpg/tmw/tmw-20130201.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-20130201.ebuild,v 1.1 2013/02/04 18:25:05 hasufell Exp $ + +EAPI=5 +inherit eutils gnome2-utils games + +MY_PN=${PN}-branding +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Branding for the Mana client for server.themanaworld.org" +HOMEPAGE="http://themanaworld.org/" +SRC_URI="mirror://sourceforge/themanaworld/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="games-rpg/manaplus" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${MY_P}-gentoo.patch + + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + ${PN} ${PN}.desktop \ + || die "sed failed" +} + +src_install() { + dogamesbin ${PN} + + insinto "${GAMES_DATADIR}/${PN}/" + doins ${PN}.mana + doins -r data/ + + domenu ${PN}.desktop + + doicon -s 32 data/icons/${PN}.xpm + doicon data/icons/${PN}.png + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |