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

Contents of /games-board/capitalism/capitalism-0.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Jan 23 14:43:58 2014 UTC (5 months, 4 weeks ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
cleanup after pkgmove of games-board/capitalism to games-board/CapiCity

1 # Copyright 1999-2013 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.5.1.ebuild,v 1.4 2013/03/02 21:11:46 hwoarang Exp $
4
5 EAPI=2
6 inherit eutils gnome2-utils qt4-r2 games
7
8 MY_PN=${PN/c/C}
9 MY_P=${MY_PN}_${PV}
10
11 DESCRIPTION="A monopd compatible boardgame to play Monopoly-like games"
12 HOMEPAGE="http://www.linux-ecke.de/Capitalism/"
13 SRC_URI="mirror://sourceforge/project/${PN}/${MY_PN}/0.5/${PN}_${PV}.tbz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 x86"
18 IUSE=""
19
20 DEPEND="dev-qt/qtgui:4"
21
22 S=${WORKDIR}/${MY_P}
23
24 PATCHES=( "${FILESDIR}"/${P}-qt47.patch )
25
26 src_configure() {
27 qt4-r2_src_configure
28 }
29
30 src_install() {
31 dogamesbin ${MY_PN} || die
32 dodoc changelog readme.txt
33
34 local res
35 for res in 16 22 24 32 48 64; do
36 insinto /usr/share/icons/hicolor/${res}x${res}/apps
37 newins icons/${res}x${res}.png ${PN}.png
38 done
39
40 make_desktop_entry ${MY_PN} ${MY_PN}
41 prepgamesdirs
42 }
43
44 pkg_preinst() {
45 games_pkg_preinst
46 gnome2_icon_savelist
47 }
48
49 pkg_postinst() {
50 games_pkg_postinst
51 gnome2_icon_cache_update
52 }
53
54 pkg_postrm() {
55 gnome2_icon_cache_update
56 }

  ViewVC Help
Powered by ViewVC 1.1.20