1 |
commit: ddd13ecf6fe2eb5d3a6f9e59101ae6330c66a458 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 1 20:52:49 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 1 21:09:53 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd13ecf |
7 |
|
8 |
games-board/simsu: 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/simsu/simsu-1.2.3-r1.ebuild | 44 +++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 44 insertions(+) |
18 |
|
19 |
diff --git a/games-board/simsu/simsu-1.2.3-r1.ebuild b/games-board/simsu/simsu-1.2.3-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 0000000..7dd5333 |
22 |
--- /dev/null |
23 |
+++ b/games-board/simsu/simsu-1.2.3-r1.ebuild |
24 |
@@ -0,0 +1,44 @@ |
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 |
+ |
31 |
+inherit eutils gnome2-utils qmake-utils |
32 |
+ |
33 |
+DESCRIPTION="A basic sudoku game" |
34 |
+HOMEPAGE="http://gottcode.org/simsu/" |
35 |
+SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" |
36 |
+ |
37 |
+LICENSE="GPL-3" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="" |
41 |
+ |
42 |
+DEPEND="dev-qt/qtgui:4" |
43 |
+RDEPEND=${DEPEND} |
44 |
+ |
45 |
+src_configure() { |
46 |
+ eqmake4 |
47 |
+} |
48 |
+ |
49 |
+src_install() { |
50 |
+ dobin ${PN} |
51 |
+ insinto /usr/share/${PN}/translations |
52 |
+ doins translations/*qm |
53 |
+ dodoc ChangeLog |
54 |
+ doicon -s scalable icons/hicolor/scalable/apps/${PN}.svg |
55 |
+ domenu icons/${PN}.desktop |
56 |
+} |
57 |
+ |
58 |
+pkg_preinst() { |
59 |
+ gnome2_icon_savelist |
60 |
+} |
61 |
+ |
62 |
+pkg_postinst() { |
63 |
+ gnome2_icon_cache_update |
64 |
+} |
65 |
+ |
66 |
+pkg_postrm() { |
67 |
+ gnome2_icon_cache_update |
68 |
+} |