summaryrefslogtreecommitdiff
path: root/games-strategy/knights-demo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-04 11:22:40 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-04 11:22:40 +0100
commitfe1c8b732bd548b699d4c2ef725f67f8b8c8911c (patch)
tree84c0b6ca01b7cb63c7d6e685a63823200ce1007f /games-strategy/knights-demo
parent7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (diff)
gentoo resync : 04.05.2018
Diffstat (limited to 'games-strategy/knights-demo')
-rw-r--r--games-strategy/knights-demo/Manifest2
-rw-r--r--games-strategy/knights-demo/knights-demo-1.32-r2.ebuild (renamed from games-strategy/knights-demo/knights-demo-1.32-r1.ebuild)22
2 files changed, 12 insertions, 12 deletions
diff --git a/games-strategy/knights-demo/Manifest b/games-strategy/knights-demo/Manifest
index b406053f62bd..152c63cfe4f3 100644
--- a/games-strategy/knights-demo/Manifest
+++ b/games-strategy/knights-demo/Manifest
@@ -1,3 +1,3 @@
DIST knights-demo-1.32.run 31667235 BLAKE2B ee9c63a261aaea93122b790ef3d4df21b30b53d8f47e2f1549c3e6aaf7a09f04b5f7985e6d26e395266176fa9135cb7257bfc5c6f5eba7524da19758ab241715 SHA512 f53cf9524811b4a83ec2531f62ea251fc5a939cb09445ab850c7bbac85301e8b8275dda12a8dc991e4412eb4358d7597d0c007bd9263fd875289b039b941ed9c
-EBUILD knights-demo-1.32-r1.ebuild 1214 BLAKE2B 2922e3b244a176a7aa2e86f65c3121931c41b83a557765d6220cfc97608ba303234e03ff79eccf50460c31bb99a35b3861ee28ddc3c4b5f70f84fc0d0b7b849a SHA512 8f0d92229c3d11e1f62d23be5070d5a15a419ea61b89edf08e5d0708bf7fd609ad6011a318a68395f2475ea47a7e177eb1de3b71d5fd8f450d1be070da8b0e0d
+EBUILD knights-demo-1.32-r2.ebuild 1183 BLAKE2B 7474ab747a641cb6913a5aa26d4fcaf1e0fd319b5db9e50d133ba05af9828a6caf76318f66d627ce23b19880c92fc2e2ef27e12b3511e298d57995844a4005ce SHA512 213b7a7f8fe80e919077ad35fa68ed7d7c111ef408917e55ab307afade34ea4843bf6a0f2d6ac4a01f2d10768fd57d8bd670c04f3a20389e8d6a2485a8a8b231
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-strategy/knights-demo/knights-demo-1.32-r1.ebuild b/games-strategy/knights-demo/knights-demo-1.32-r2.ebuild
index b9d0fc04f438..d314a019ee7c 100644
--- a/games-strategy/knights-demo/knights-demo-1.32-r1.ebuild
+++ b/games-strategy/knights-demo/knights-demo-1.32-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils unpacker games
+EAPI=6
+inherit eutils unpacker
DESCRIPTION="Anglo-Saxon medieval army battles and resource management"
HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=knights"
@@ -11,18 +11,19 @@ SRC_URI="mirror://gentoo/${P}.run"
LICENSE="knights-demo"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
-RDEPEND="sys-libs/glibc
+RDEPEND="
+ sys-libs/glibc
>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
>=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)]
>=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)]
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
- >=x11-libs/libXi-1.7.2[abi_x86_32(-)]"
-
-S=${WORKDIR}
+ >=x11-libs/libXi-1.7.2[abi_x86_32(-)]
+"
+S="${WORKDIR}"
src_unpack() {
unpack_makeself ${P}.run
@@ -32,7 +33,7 @@ src_unpack() {
}
src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
+ local dir=/opt/${PN}
exeinto "${dir}"
doexe bin/Linux/x86/${PN}{,.dynamic}
@@ -42,8 +43,7 @@ src_install() {
doins EULA icon.xpm README{,.licenses}
# We don't support the dynamic version, even though we install it.
- games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
+ make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
newicon icon.xpm ${PN}.xpm
make_desktop_entry ${PN} "Knights and Merchants (Demo)" ${PN}
- prepgamesdirs
}