diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-rpg/pcgen | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-rpg/pcgen')
-rw-r--r-- | games-rpg/pcgen/Manifest | 1 | ||||
-rw-r--r-- | games-rpg/pcgen/metadata.xml | 8 | ||||
-rw-r--r-- | games-rpg/pcgen/pcgen-6.04.01.ebuild | 48 |
3 files changed, 57 insertions, 0 deletions
diff --git a/games-rpg/pcgen/Manifest b/games-rpg/pcgen/Manifest new file mode 100644 index 000000000000..ee234a8b5ba7 --- /dev/null +++ b/games-rpg/pcgen/Manifest @@ -0,0 +1 @@ +DIST pcgen-6.04.01-full.zip 68679438 SHA256 0cdd57d6aca91c6c590bd1bfbadae8c0e85fd2f48c5855351dcd8777814011c2 SHA512 37e76e9bca3defe803459f898d3c51015cb4c4f69905c4179b78b1b26977b7d720ef413b3f5b2ef4252aa98f732075b9567c4f4822c61d169a5a0a6e2c78c0d4 WHIRLPOOL 04394868f9fc152ceef205e6b2fdc77d061b5b8437c56b105a1dedca96044c77e9f4a33535f750ca026b3387accea8fef2cb45ea146a7989102248721315d40f diff --git a/games-rpg/pcgen/metadata.xml b/games-rpg/pcgen/metadata.xml new file mode 100644 index 000000000000..7d65cacbecfc --- /dev/null +++ b/games-rpg/pcgen/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">pcgen</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-rpg/pcgen/pcgen-6.04.01.ebuild b/games-rpg/pcgen/pcgen-6.04.01.ebuild new file mode 100644 index 000000000000..121a1208f068 --- /dev/null +++ b/games-rpg/pcgen/pcgen-6.04.01.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |