/[gentoo-x86]/games-board/capitalism/capitalism-0.2-r1.ebuild
Gentoo

Contents of /games-board/capitalism/capitalism-0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jan 26 18:17:13 2011 UTC (3 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.1.9.25/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/capitalism-0.2-r1.ebuild,v 1.2 2010/11/30 21:13:20 maekke Exp $
4
5 EAPI=2
6 inherit eutils gnome2-utils qt4-r2 games
7
8 MY_PN=${PN/c/C}
9
10 DESCRIPTION="A monopd compatible boardgame to play Monopoly-like games"
11 HOMEPAGE="http://www.qt-apps.org/content/show.php/Capitalism?content=113173"
12 SRC_URI="http://www.qt-apps.org/CONTENT/content-files/113173-${P}.tbz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 x86"
17 IUSE=""
18
19 DEPEND="x11-libs/qt-gui:4"
20
21 S=${WORKDIR}/${MY_PN}-${PV}
22
23 PATCHES=(
24 "${FILESDIR}"/${P}-qt47.patch
25 )
26
27 src_configure() {
28 eqmake4 ${MY_PN}.pro
29 }
30
31 src_install() {
32 dogamesbin ${MY_PN} || die
33 dodoc changelog readme.txt
34
35 local res
36 for res in 16 22 24 32 48 64; do
37 insinto /usr/share/icons/hicolor/${res}x${res}/apps
38 newins icons/${res}x${res}.png ${PN}.png
39 done
40
41 make_desktop_entry ${MY_PN} ${MY_PN}
42 prepgamesdirs
43 }
44
45 pkg_preinst() {
46 games_pkg_preinst
47 gnome2_icon_savelist
48 }
49
50 pkg_postinst() {
51 games_pkg_postinst
52 gnome2_icon_cache_update
53 }
54
55 pkg_postrm() {
56 gnome2_icon_cache_update
57 }

  ViewVC Help
Powered by ViewVC 1.1.20