summaryrefslogtreecommitdiff
path: root/games-fps/legends
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-fps/legends
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-fps/legends')
-rw-r--r--games-fps/legends/Manifest2
-rw-r--r--games-fps/legends/legends-0.4.1.43-r2.ebuild15
2 files changed, 8 insertions, 9 deletions
diff --git a/games-fps/legends/Manifest b/games-fps/legends/Manifest
index d32b5eb0e61f..4b7109046beb 100644
--- a/games-fps/legends/Manifest
+++ b/games-fps/legends/Manifest
@@ -1,4 +1,4 @@
DIST legends.png 5092 BLAKE2B 74715a28e6c25e3ce9a3357be23b07a998181e12e7a19d721b094c10b7f1312b273307ad1ac2830c0d71a710434be679149e0d758ee5a785cebc6b71d91f965f SHA512 7b9f336335dc69e2fbc24286b2076a228739ab4abf1b77d977321d9dccfb453897bdbd51388e3ed54369ba39b7faa92e458700928d8bf5ccc0f3639f8737489a
DIST legends_linux-0.4.1.43.run 123964866 BLAKE2B d16da9613a13c4d78d207fc474b859e222d6c387a676bc2fe851f34fed7e689a5457a022674e2e96abd7cfc8e9e68977078811147ffe44388986796a2157cd69 SHA512 17b1caa3aa6124f2389e2220ced82c41c4523897bde2f8211d219dc9ef8620583c4ae68999b0761155e3d45cb1ad9679cd65ba50c8440dd1848ef3b1a7a590d2
-EBUILD legends-0.4.1.43-r2.ebuild 1810 BLAKE2B 6705beadc455eba7e54c8751e25c196639c438808da35a07c939183775aae19f9d0324c623d5396613a81b4926dd5a654d803ccf43899fbd244923dd4542361e SHA512 60d2cf76324be1f3721067d7de36562edbf6389833c14e58dfc9fbd8096fe6fa4f99fdc79d00dbaf85761ebcf291f211deff41c9a431220df83a42f829476c44
+EBUILD legends-0.4.1.43-r2.ebuild 1823 BLAKE2B 4733189335fc732cfd33cd720e5e0074a34f8b8cda14f4de834718bfe1bf00f9d4cc2f1aea608ad0b7680e53f7832f3e0f0a23ef2512a55d6e4ede646806125f SHA512 e5c6fa582f2d5c0d9bbb0bfa82c6fc818a592c41fdd9b4c6a019d5bc71cfb44a1b1b846b6cf09402b272e1e75550921867f1bc87fd39c3932b0b2a327606b53e
MISC metadata.xml 1427 BLAKE2B c9e4086f3639e290c414a48d30a56a56c9f541f2e4ad082a19f6361c55f2f57e862ab571e27d63bdb04702c64c2bc53404d345a8f1328902d03aaac2b4f3d150 SHA512 987ace71750e486c141c1010d1699194c656fda09a4952b51b31ad8f526de8f77372e57632d1636034e6de080871a4fc3140b1e2a49e98b3758d907a0eb3bba3
diff --git a/games-fps/legends/legends-0.4.1.43-r2.ebuild b/games-fps/legends/legends-0.4.1.43-r2.ebuild
index e516f30fffca..f94214861731 100644
--- a/games-fps/legends/legends-0.4.1.43-r2.ebuild
+++ b/games-fps/legends/legends-0.4.1.43-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils unpacker
+EAPI=7
+
+inherit desktop unpacker wrapper
MY_P=${PN}_linux-${PV}
dir=/opt/${PN}
@@ -11,6 +12,7 @@ DESCRIPTION="Fast-paced first-person-shooter online multiplayer game, similar to
HOMEPAGE="http://legendsthegame.net/"
SRC_URI="http://legendsthegame.net/files/${MY_P}.run
mirror://gentoo/${PN}.png"
+S="${WORKDIR}"
LICENSE="Legends LGPL-2.1+"
SLOT="0"
@@ -21,7 +23,6 @@ RESTRICT="strip"
QA_TEXTRELS="${dir:1}/libSDL-1.3.so.0"
QA_FLAGS_IGNORED="${dir:1}/libSDL-1.3.so.0 ${dir:1}/LinLegends ${dir:1}/lindedicated"
-DEPEND=""
RDEPEND="sys-libs/glibc
amd64? ( sys-libs/glibc[multilib] )
media-fonts/font-adobe-75dpi
@@ -32,11 +33,9 @@ RDEPEND="sys-libs/glibc
media-libs/libvorbis[abi_x86_32(-)]
media-libs/openal[abi_x86_32(-)]"
-S=${WORKDIR}
-
src_unpack() {
unpack_makeself ${MY_P}.run
- cd "${S}"
+ cd "${S}" || die
# keep libSDL-1.3.so because legends requires it as of 0.4.0, and
# 1.2.6 is highest in portage
@@ -48,7 +47,7 @@ src_install() {
insinto "${dir}"
doins -r *
- rm "${D}/${dir}/"/{lindedicated,LinLegends,*.so.0}
+ rm "${ED}/${dir}/"/{lindedicated,LinLegends,*.so.0} || die
exeinto "${dir}"
doexe lindedicated LinLegends *.so.0