From f30bfd47fb595de8f1f145df79af5d74dac7e55e Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 5 Aug 2016 10:55:06 -0500 Subject: [PATCH] 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 --- games-kids/gmult/gmult-8.0-r1.ebuild | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 games-kids/gmult/gmult-8.0-r1.ebuild 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 0000000000000..8ab30c916a1ce --- /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 +}