games-misc/lucidlife: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0
This commit is contained in:
Austin English
2016-10-11 16:28:56 -05:00
parent b9e5b5c700
commit 9bfa126590
2 changed files with 44 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
--- src/Makefile.am.old 2011-06-17 17:31:54.078600741 +0200
+++ src/Makefile.am 2011-06-17 17:32:05.491299944 +0200
--- a/src/Makefile.am 2011-06-17 17:31:54.078600741 +0200
+++ b/src/Makefile.am 2011-06-17 17:32:05.491299944 +0200
@@ -2,7 +2,7 @@
-DDATADIR=\""$(datadir)/lucidlife"\" \
-DDOCDIR=\""$(datadir)/doc/lucidlife"\"

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools eutils
DESCRIPTION="A Conway's Life simulator written in GTK+2 - fork from Gtklife"
HOMEPAGE="http://gtk-apps.org/content/show.php/LucidLife?content=130867"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/gtk+:2"
DEPEND="${DEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-gnome-vfs.patch
"${FILESDIR}"/${P}-underlink.patch
)
src_prepare() {
default
eautoreconf
intltoolize --force --copy --automake || die
}
src_install() {
emake install \
desktopdir=/usr/share/applications \
pixmapdir=/usr/share/pixmaps \
DESTDIR="${D}"
dodoc AUTHORS ChangeLog NEWS README TODO
}