Skip to content

Commit

Permalink
games-kids/gmult: remove deprecated games eclass
Browse files Browse the repository at this point in the history
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0
  • Loading branch information
austin987 committed Aug 5, 2016
1 parent 02a3fb5 commit f30bfd4
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions games-kids/gmult/gmult-8.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit f30bfd4

Please sign in to comment.