summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 01:09:42 +0000
committerSam James <sam@gentoo.org>2021-04-19 01:13:38 +0000
commit6a5eb5bbb93c09f828480b6e29311297f36fd657 (patch)
treefefa533c62f2b164687bdf6b216db2a5a95fc641 /games-puzzle
parentgames-util/uz2unpack: port to EAPI 7 (diff)
downloadgentoo-6a5eb5bbb93c09f828480b6e29311297f36fd657.tar.gz
gentoo-6a5eb5bbb93c09f828480b6e29311297f36fd657.tar.bz2
gentoo-6a5eb5bbb93c09f828480b6e29311297f36fd657.zip
games-puzzle/xtris: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/xtris/xtris-1.15-r1.ebuild11
1 files 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 1c863a9b1d17..93ef346fe67e 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
}