summaryrefslogtreecommitdiff
path: root/games-puzzle/xtris/xtris-1.15-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/xtris/xtris-1.15-r1.ebuild')
-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
}