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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Apr 8 08:22:55 2010 UTC (4 years, 3 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.7.17/cvs/Linux i686)

1 # Copyright 1999-2009 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.1.ebuild,v 1.3 2009/12/24 16:16:14 pacho Exp $
4
5 EAPI=2
6 inherit eutils gnome2-utils qt4 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-${PN}_${PV}.tar.gz"
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}
22
23 pkg_setup() {
24 games_pkg_setup
25 qt4_pkg_setup
26 }
27
28 src_configure() {
29 eqmake4 ${MY_PN}.pro
30 }
31
32 src_install() {
33 dogamesbin ${MY_PN} || die
34 dodoc changelog readme.txt
35
36 local res
37 for res in 16 22 24 32 48 64; do
38 insinto /usr/share/icons/hicolor/${res}x${res}/apps
39 newins icons/${res}x${res}.png ${PN}.png
40 done
41
42 make_desktop_entry ${MY_PN} ${MY_PN}
43 prepgamesdirs
44 }
45
46 pkg_preinst() {
47 games_pkg_preinst
48 gnome2_icon_savelist
49 }
50
51 pkg_postinst() {
52 games_pkg_postinst
53 gnome2_icon_cache_update
54 }
55
56 pkg_postrm() {
57 gnome2_icon_cache_update
58 }

  ViewVC Help
Powered by ViewVC 1.1.20