Changeset - b1d084a52702
[Not reviewed]
0 0 2
Chel Sea (chain) - 11 years ago 2014-01-20 07:17:51
chain@rpgfiction.net
add new PCGen stable to tree
2 files changed with 53 insertions and 0 deletions:
0 comments (0 inline, 0 general)
games-rpg/pcgen/Manifest
Show inline comments
 
new file 100644
 
DIST pcgen60200_full.zip 62768411 SHA256 f108e483c785a5c0488b9e96d4ad4b8d494974aba8cfcebb9998649580b45874 SHA512 c3636983fd04a509f4dd9cb654a5769ab09ade8642c891bd82ec62fe54cc9a1f88a856a1f49e3a7988cfd06bd59d97daab063092c56d61020deaed2d4bc4376a WHIRLPOOL 3f1fb1c265d73ef675a42b2bc8fae5ff74808bea1c5080e10f232cc2d6b3f5af21d2673c77294602515b30ace917338b5fbcb7980561f5b31f7f10f3e6dae0e8
 
EBUILD pcgen-6.02.0.ebuild 1160 SHA256 6d62047cf693bac5101075ce8f0d7cfe2450708fdc344cdd0d4af63c6f73728a SHA512 a97fb992d52eeea2e2c9c6d9f5b1a6c1d198013781479df275b32ba85439ed6b0f65282cd4f588148103fa2b299d4524d6a2f2a809d0d255cdadb0ecc00fe4d9 WHIRLPOOL 17a3b1f1af9f86db3b479bbec592568079e2f2672d082759950f3f465a9c171dde4f7358e310b5c15e5de94d43c4dc26ac3d5c6a0fd6dcc126092b9e2ff3d9fb
games-rpg/pcgen/pcgen-6.02.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2013 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/pcgen-6.00.0.ebuild,v 1.3 2013/01/22 17:29:01 ago Exp $
 

	
 
EAPI=5
 
inherit versionator gnome2-utils games
 

	
 
MY_PV=$(delete_all_version_separators)0
 
DESCRIPTION="D&D character generator"
 
HOMEPAGE="http://pcgen.sourceforge.net/"
 
SRC_URI="mirror://sourceforge/${PN}/PCGen%20Stable/${PV}/pcgen${MY_PV}_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}/pcgen${MY_PV}
 

	
 
src_prepare() {
 
	rm -f *.bat
 
	sed -i "/dirname/ c\cd \"${GAMES_DATADIR}\/${PN}\"" pcgen.sh || die
 
	mv -f pcgen.sh "${T}"/${PN}
 
}
 

	
 
src_install() {
 
	dogamesbin "${T}"/${PN}
 
	insinto "${GAMES_DATADIR}"/${PN}
 
	doins -r *
 
	keepdir "${GAMES_DATADIR}"/${PN}/characters
 
	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
 
}
0 comments (0 inline, 0 general)