games-board/qcheckers: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Tue, 2 Aug 2016 16:29:13 +0000 (11:29 -0500)
committerAustin English <wizardedit@gentoo.org>
Tue, 2 Aug 2016 16:59:46 +0000 (11:59 -0500)
Also update to EAPI 6

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

Package-Manager: portage-2.3.0

games-board/qcheckers/qcheckers-20091230-r1.ebuild [new file with mode: 0644]

diff --git a/games-board/qcheckers/qcheckers-20091230-r1.ebuild b/games-board/qcheckers/qcheckers-20091230-r1.ebuild
new file mode 100644 (file)
index 0000000..df73d29
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils qmake-utils
+
+MY_PN=${PN/qc/QC}
+
+DESCRIPTION="Qt4 based checkers game"
+HOMEPAGE="https://code.google.com/p/qcheckers/"
+SRC_URI="https://qcheckers.googlecode.com/files/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${MY_PN}
+
+src_configure() {
+       eqmake4 ${MY_PN}.pro
+}
+
+src_install() {
+       dobin ${MY_PN}
+       newicon icons/help-about.png ${PN}.png
+       make_desktop_entry ${MY_PN} ${MY_PN}
+       dodoc README
+}