summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
index 47e9b358322c..bba4122489d1 100644
--- a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
+++ b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
@@ -1,22 +1,20 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="Opening book for gnuchess"
HOMEPAGE="https://www.gnu.org/software/chess/chess.html"
SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
+S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
RESTRICT="userpriv" # bug #112898
-DEPEND=">=games-board/gnuchess-6.2.3"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}
+BDEPEND=">=games-board/gnuchess-6.2.3"
+RDEPEND="${BDEPEND}"
src_compile() {
gnuchess --addbook=book_${PV}.pgn || die