commit:     6a5eb5bbb93c09f828480b6e29311297f36fd657
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 01:09:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 01:13:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a5eb5bb

games-puzzle/xtris: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-puzzle/xtris/xtris-1.15-r1.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/games-puzzle/xtris/xtris-1.15-r1.ebuild 
b/games-puzzle/xtris/xtris-1.15-r1.ebuild
index 1c863a9b1d1..93ef346fe67 100644
--- a/games-puzzle/xtris/xtris-1.15-r1.ebuild
+++ b/games-puzzle/xtris/xtris-1.15-r1.ebuild
@@ -1,23 +1,22 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
+
 inherit desktop toolchain-funcs
 
 DESCRIPTION="A networked Tetris-like game"
 HOMEPAGE="http://www.iagora.com/~espel/xtris/xtris.html";
 SRC_URI="http://www.iagora.com/~espel/xtris/${P}.tar.gz";
+S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="x11-libs/libX11"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}"
-
 src_compile() {
        emake \
                CC=$(tc-getCC) \
@@ -29,8 +28,10 @@ src_compile() {
 
 src_install() {
        dobin xtris xtserv xtbot
+
        doicon "${FILESDIR}"/${PN}.xpm
        make_desktop_entry ${PN} xtris ${PN}
+
        doman xtris.6 xtserv.6 xtbot.6
        dodoc ChangeLog PROTOCOL README
 }

Reply via email to