commit:     252a7f7cb16281b5cab6d793cce38399fef66575
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 19:28:21 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 00:22:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=252a7f7c

games-board/kcheckers: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0

 games-board/kcheckers/kcheckers-0.8.1-r1.ebuild | 42 +++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/games-board/kcheckers/kcheckers-0.8.1-r1.ebuild 
b/games-board/kcheckers/kcheckers-0.8.1-r1.ebuild
new file mode 100644
index 0000000..8f96902
--- /dev/null
+++ b/games-board/kcheckers/kcheckers-0.8.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils qmake-utils
+
+DESCRIPTION="Qt version of the classic boardgame checkers"
+HOMEPAGE="http://qcheckers.sourceforge.net/";
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+       default
+
+       sed -i \
+               -e "s:/usr/local:/usr:" \
+               common.h || die
+}
+
+src_configure() {
+       eqmake4
+}
+
+src_install() {
+       dobin kcheckers
+
+       insinto /usr/share/${PN}
+       doins -r i18n/* themes
+
+       newicon icons/biglogo.png ${PN}.png
+       make_desktop_entry ${PN} KCheckers
+
+       dodoc AUTHORS ChangeLog FAQ README TODO
+}

Reply via email to