summaryrefslogtreecommitdiff
path: root/games-board/phalanx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-30 21:33:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-30 21:33:31 +0100
commit2f8db31405fac68eea6f7257d58529243815033b (patch)
tree54259cc8988a98a10586fc0496b1f3501cd1e2a1 /games-board/phalanx
parenta4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (diff)
gentoo resync : 30.04.2018
Diffstat (limited to 'games-board/phalanx')
-rw-r--r--games-board/phalanx/Manifest2
-rw-r--r--games-board/phalanx/phalanx-22-r1.ebuild (renamed from games-board/phalanx/phalanx-22.ebuild)19
2 files changed, 10 insertions, 11 deletions
diff --git a/games-board/phalanx/Manifest b/games-board/phalanx/Manifest
index a7e4f6559fce..db404c0c6458 100644
--- a/games-board/phalanx/Manifest
+++ b/games-board/phalanx/Manifest
@@ -1,3 +1,3 @@
DIST Phalanx-XXII.tar.gz 356831 BLAKE2B 11eacd51a77df0a0b25315145a3519e0ae34f97b1498b691167978700fe038770db24e0ce3dec4141a4f5f4c38ab38bf90b338a1320a09191f1757b895ce7307 SHA512 e959556bb29eb2178dbf77c656d6c6520a8568e93e03350c5141bee8808a04d0a0c1050a3db53b1fef4a7b6e6b724272700e52feb6c5d7f8308cebca91c51d67
-EBUILD phalanx-22.ebuild 974 BLAKE2B 55975bf62b2544e611b0eec2c61db413a271e50913267332516af3d033c5607e2ccabcc5933180463cfaede2fd26e8a78d05d757f4f4e77796aac2ac04d3443e SHA512 f49be130847d6886ba6ca4d83a792a7175caf05a515d0e2773534fed835be9bc838df7f91f071012776fca49ee586bb2132d7a8840cae38c5149700cab1a312a
+EBUILD phalanx-22-r1.ebuild 930 BLAKE2B edd80d4bcd0c850e67ed5c378d290c256c2acd320652a0becda1cc3cb188f3f0cd44f5a0cc68342e6e050144ac839d06f88a9f35b85891839fb63b78db39270b SHA512 e335f8cbf3d84867d7062d35ab2905d8da9df656fcffadb239abccb5e032c9a1b3d305d1be77f8ead81d584384c44a44cd30e5b751a2422b8121dd9cf3c1df5a
MISC metadata.xml 590 BLAKE2B cc0d80f3eb03f6aab26996d3773c68b2f64328b1d9b8d4798fc4168d924c87d87f196d2dea76484cadcbd3d0d45ca4da9a34407cf57d59f9ce314203f2fcfee0 SHA512 48daed32c34b1183e44136d4da6572da67508c2782e6a28aebbf6d6d52b94eb2cf8c6dd079d8eab61a4180d82e1894271eb56e32d73f6bc302c2aa3050949fd6
diff --git a/games-board/phalanx/phalanx-22.ebuild b/games-board/phalanx/phalanx-22-r1.ebuild
index 8d2354125e88..cb72a63812f8 100644
--- a/games-board/phalanx/phalanx-22.ebuild
+++ b/games-board/phalanx/phalanx-22-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit toolchain-funcs games
+EAPI=6
+inherit toolchain-funcs
MY_PN="Phalanx"
MY_PV="XXII"
-MY_P=${MY_PN}-${MY_PV}
+MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="A chess engine suitable for beginner and intermediate players"
HOMEPAGE="http://phalanx.sourceforge.net/"
@@ -17,14 +17,14 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
src_compile() {
# configure is not used in the project; confs are in Makefile,
# and here we override them:
local define="-DGNUFUN" myvar
for myvar in "PBOOK" "SBOOK" "LEARN" ; do
- define="${define} -D${myvar}_DIR=\"\\\"${GAMES_DATADIR}/${PN}\\\"\""
+ define="${define} -D${myvar}_DIR=\"\\\"/usr/share/${PN}\\\"\""
done
emake \
DEFINES="${define}" \
@@ -34,9 +34,8 @@ src_compile() {
}
src_install() {
- dogamesbin phalanx
- insinto "${GAMES_DATADIR}"/${PN}
+ dobin phalanx
+ insinto /usr/share/${PN}
doins pbook.phalanx sbook.phalanx learn.phalanx
- dodoc HISTORY README
- prepgamesdirs
+ einstalldocs
}