diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-05 18:53:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-05 18:53:37 +0000 |
commit | 68863796ba719e5240709960718d8efdeac8fa00 (patch) | |
tree | 646f1e74c3380ce661ac65570563d932259a65be /games-board | |
parent | ia64/sparc stable wrt #290126 (diff) | |
download | gentoo-2-68863796ba719e5240709960718d8efdeac8fa00.tar.gz gentoo-2-68863796ba719e5240709960718d8efdeac8fa00.tar.bz2 gentoo-2-68863796ba719e5240709960718d8efdeac8fa00.zip |
Initial commit
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/capitalism/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/capitalism/capitalism-0.1.ebuild | 58 | ||||
-rw-r--r-- | games-board/capitalism/metadata.xml | 5 |
3 files changed, 73 insertions, 0 deletions
diff --git a/games-board/capitalism/ChangeLog b/games-board/capitalism/ChangeLog new file mode 100644 index 000000000000..e9eb9ecefebc --- /dev/null +++ b/games-board/capitalism/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-board/capitalism +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/ChangeLog,v 1.1 2009/11/05 18:53:37 ssuominen Exp $ + +*capitalism-0.1 (05 Nov 2009) + + 05 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> + +capitalism-0.1.ebuild: + Initial commit. + diff --git a/games-board/capitalism/capitalism-0.1.ebuild b/games-board/capitalism/capitalism-0.1.ebuild new file mode 100644 index 000000000000..cae6870a8f7c --- /dev/null +++ b/games-board/capitalism/capitalism-0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/capitalism-0.1.ebuild,v 1.1 2009/11/05 18:53:37 ssuominen Exp $ + +EAPI=2 +inherit eutils gnome2-utils qt4 games + +MY_PN=${PN/c/C} + +DESCRIPTION="A monopd compatible boardgame to play Monopoly-like games" +HOMEPAGE="http://www.qt-apps.org/content/show.php/Capitalism?content=113173" +SRC_URI="http://www.qt-apps.org/CONTENT/content-files/113173-${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/qt-gui:4" + +S=${WORKDIR}/${MY_PN} + +pkg_setup() { + games_pkg_setup + qt4_pkg_setup +} + +src_configure() { + eqmake4 ${MY_PN}.pro +} + +src_install() { + dogamesbin ${MY_PN} || die + dodoc changelog readme.txt + + local res + for res in 16 22 24 32 48 64; do + insinto /usr/share/icons/hicolor/${res}x${res}/apps + newins icons/${res}x${res}.png ${PN}.png + done + + make_desktop_entry ${MY_PN} ${MY_PN} + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-board/capitalism/metadata.xml b/games-board/capitalism/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-board/capitalism/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |