summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-10-14 05:16:13 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-10-14 05:16:13 +0000
commit29d6012938a7e2b284188eb79c49d260afab071a (patch)
tree75be64eeae8ae3347aed29df6e26fcb0d6de1a65 /games-rpg
parentVersion bump. (diff)
downloadgentoo-2-29d6012938a7e2b284188eb79c49d260afab071a.tar.gz
gentoo-2-29d6012938a7e2b284188eb79c49d260afab071a.tar.bz2
gentoo-2-29d6012938a7e2b284188eb79c49d260afab071a.zip
version bump (bug #525210)
(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/pcgen/ChangeLog9
-rw-r--r--games-rpg/pcgen/pcgen-6.04.00.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/games-rpg/pcgen/ChangeLog b/games-rpg/pcgen/ChangeLog
index 8672e099405b..c1f1056b4ea7 100644
--- a/games-rpg/pcgen/ChangeLog
+++ b/games-rpg/pcgen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/pcgen
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.32 2013/01/30 18:49:10 mr_bones_ Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.33 2014/10/14 05:16:13 mr_bones_ Exp $
+
+*pcgen-6.04.00 (14 Oct 2014)
+
+ 14 Oct 2014; Michael Sterrett <mr_bones_@gentoo.org> +pcgen-6.04.00.ebuild:
+ version bump (bug #525210)
30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> -pcgen-5.16.4.ebuild:
old
diff --git a/games-rpg/pcgen/pcgen-6.04.00.ebuild b/games-rpg/pcgen/pcgen-6.04.00.ebuild
new file mode 100644
index 000000000000..0ba2192e1a81
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-6.04.00.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/pcgen-6.04.00.ebuild,v 1.1 2014/10/14 05:16:13 mr_bones_ Exp $
+
+EAPI=5
+inherit gnome2-utils games
+
+DESCRIPTION="D&D character generator"
+HOMEPAGE="http://pcgen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pcgen/${P}-full.zip"
+
+LICENSE="LGPL-2.1 OGL-1.0a"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ rm -vf *.bat
+ sed "/dirname/ c\cd \"${GAMES_DATADIR}\/${PN}\"" pcgen.sh > "${T}"/${PN} || die
+}
+
+src_install() {
+ dogamesbin "${T}"/${PN}
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r *
+ newicon -s 128 system/sponsors/pcgen/pcgen_128x128.png ${PN}.png
+ make_desktop_entry ${PN} PCGen
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}