Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/peg-e/
Date: Thu, 04 Aug 2016 17:58:44
Message-Id: 1470333510.7ea679889cbcee1bc58e447434a634e4697352ec.wizardedit@gentoo
1 commit: 7ea679889cbcee1bc58e447434a634e4697352ec
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 4 17:58:14 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 4 17:58:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea67988
7
8 games-board/peg-e: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: portage-2.3.0
15
16 games-board/peg-e/peg-e-1.1.2-r1.ebuild | 42 +++++++++++++++++++++++++++++++++
17 1 file changed, 42 insertions(+)
18
19 diff --git a/games-board/peg-e/peg-e-1.1.2-r1.ebuild b/games-board/peg-e/peg-e-1.1.2-r1.ebuild
20 new file mode 100644
21 index 0000000..8ca51f5
22 --- /dev/null
23 +++ b/games-board/peg-e/peg-e-1.1.2-r1.ebuild
24 @@ -0,0 +1,42 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +inherit eutils gnome2-utils qmake-utils
31 +
32 +DESCRIPTION="A peg solitaire game"
33 +HOMEPAGE="http://gottcode.org/peg-e/"
34 +SRC_URI="http://gottcode.org/peg-e/${P}-src.tar.bz2"
35 +
36 +LICENSE="GPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE=""
40 +
41 +RDEPEND="dev-qt/qtcore:4
42 + dev-qt/qtgui:4"
43 +DEPEND="${RDEPEND}"
44 +
45 +src_configure() {
46 + eqmake4
47 +}
48 +
49 +src_install() {
50 + dobin ${PN}
51 + doicon -s 48 icons/hicolor/48x48/apps/${PN}.png
52 + domenu icons/${PN}.desktop
53 + dodoc CREDITS ChangeLog
54 +}
55 +
56 +pkg_preinst() {
57 + gnome2_icon_savelist
58 +}
59 +
60 +pkg_postinst() {
61 + gnome2_icon_cache_update
62 +}
63 +
64 +pkg_postrm() {
65 + gnome2_icon_cache_update
66 +}