summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-08-05 10:55:06 -0500
committerAustin English <wizardedit@gentoo.org>2016-08-05 11:35:21 -0500
commitf30bfd47fb595de8f1f145df79af5d74dac7e55e (patch)
tree062e0c608bf759a8205a6484e0cbc29431322dc2 /games-kids/gmult
parentgames-kids/gcompris: remove deprecated games eclass (diff)
downloadgentoo-f30bfd47fb595de8f1f145df79af5d74dac7e55e.tar.gz
gentoo-f30bfd47fb595de8f1f145df79af5d74dac7e55e.tar.bz2
gentoo-f30bfd47fb595de8f1f145df79af5d74dac7e55e.zip
games-kids/gmult: remove deprecated games eclass
Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0
Diffstat (limited to 'games-kids/gmult')
-rw-r--r--games-kids/gmult/gmult-8.0-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/games-kids/gmult/gmult-8.0-r1.ebuild b/games-kids/gmult/gmult-8.0-r1.ebuild
new file mode 100644
index 000000000000..8ab30c916a1c
--- /dev/null
+++ b/games-kids/gmult/gmult-8.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils gnome2-utils flag-o-matic
+
+DESCRIPTION="Multiplication Puzzle is a simple GTK+ 2 game that emulates the multiplication game found in Emacs"
+HOMEPAGE="http://www.mterry.name/gmult/"
+SRC_URI="https://launchpad.net/gmult/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:3
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_configure() {
+ append-libs -lm
+ econf # \
+ #--bindir="${GAMES_BINDIR}"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}