From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@redcorelinux.org>
Date: Sat, 7 Aug 2021 00:16:33 +0100
Subject: gentoo resync : 07.08.2021

---
 games-strategy/megaglest-data/Manifest                  |  2 +-
 .../megaglest-data/megaglest-data-3.13.0.ebuild         | 17 ++++++++---------
 2 files changed, 9 insertions(+), 10 deletions(-)

(limited to 'games-strategy/megaglest-data')

diff --git a/games-strategy/megaglest-data/Manifest b/games-strategy/megaglest-data/Manifest
index 7f45d303c99c..1fe885a7e278 100644
--- a/games-strategy/megaglest-data/Manifest
+++ b/games-strategy/megaglest-data/Manifest
@@ -1,5 +1,5 @@
 DIST megaglest-data-3.11.1.tar.xz 283383936 BLAKE2B d3c3d6c99f8b5f1360ecf72f69b47ce1ee1777019bdd8c2c0cfad8128a0ca07906a906be031526bcd255c5db3565bf4225a1170fdbcfc76819f65055d4d69c79 SHA512 a0ca22c2ba44992ce244c19f1bf3b19983a76520566286728ff4de4c14ef568aec3b166a2dde615b221d4cded8f2714b873a56fd58c1beebdc7120508ba0e357
 DIST megaglest-data-3.13.0.tar.xz 291190184 BLAKE2B 369dfb2f9a0271c686b77b4368043717b57e5863f8918afe3cc429c630ed79173c025ad0c5bad1e94949f4caf841b0e3c6706491a8534b829568c7d89ba97383 SHA512 ac6a6dd85ec2e45d3107549199251b504f128b8fc254b683c7d9c0841b86cd4c32cd45c9d3cbddc3f989bd965d61ef5a0dca9212431876c00a13f8398ff45f4c
 EBUILD megaglest-data-3.11.1-r1.ebuild 622 BLAKE2B 8442d613c7bb399394dfc2eb4b8113ee6677c417e2cb8b87283633f3ef9c2a91b3ac8bc1e9ca6191a4abf62896d0c54d95e1e99cd1d91dd07cb8305da9d366a5 SHA512 cc45ffc465d32cd741625e19d0bb5b273899ff1c3c95b3c9ad8b6635b43116ded4e101f6900b7b1f831577f91ade69b427182579d085f78399b0764cab21cebc
-EBUILD megaglest-data-3.13.0.ebuild 786 BLAKE2B 5bdf6608b7c2622981b30716b32979c8c66cfb82ac1353621828943c668565e0e7b3999e26a8ae40419b2a326a8f1ae7190e2fcd194a3f8dc5c477b55203073d SHA512 84165dfe9e8ab75a076459245ab38a5a8326708150874faca24fddc9b237473347d60862a41a89bc269fc673042f4940ef89eb2d1741d40f31218b3a9ca98cbf
+EBUILD megaglest-data-3.13.0.ebuild 735 BLAKE2B c673c37e617fdfcb580555102528cd93eb67fd9cfb82643da88137dcf8d6a1d8b74bdc766f92bfc0aca5ee817635d68dbb86b356ae06e67bb4e601bbaccab50c SHA512 8011dca05ea8cfcd2cf2d2f3fe897225919cdf0504c27ae2a9181f49374397c0b38d6f744fe5c5fcad68ce785e8680a53306829ad99ca4605497a34d231214d9
 MISC metadata.xml 342 BLAKE2B 3e1f532ee136e71fe0c923694e49cedfdce563f052f0e1a48bad9086fa511ffdef728107969738251cb13fe8df360270df227d1b7dec383110564f5cad54ab1e SHA512 6ae571607c0fefd0ff846ea1f9946d1e5de8a208494b71474f2c46495beb4d306edc37d7ed754305c6e325e7b7306f13f3e78010235bef1c97873cf01de519fe
diff --git a/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild b/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild
index 9a1f00300e1b..d3e8912a573b 100644
--- a/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild
+++ b/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild
@@ -2,31 +2,30 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit cmake
 
-MY_PN="megaglest"
 DESCRIPTION="Data files for the cross-platform 3D realtime strategy game MegaGlest"
 HOMEPAGE="https://www.megaglest.org/"
-SRC_URI="https://github.com/MegaGlest/megaglest-data/releases/download/${PV}/megaglest-data-${PV}.tar.xz"
+SRC_URI="https://github.com/MegaGlest/megaglest-data/releases/download/${PV}/${P}.tar.xz"
+S="${WORKDIR}/megaglest-${PV}"
 
 LICENSE="CC-BY-SA-3.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="doc"
 
-DOCS=( docs/AUTHORS.data.txt docs/CHANGELOG.txt docs/README.txt )
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
 src_configure() {
-	# See bug https://bugs.gentoo.org/709450.
 	local mycmakeargs=(
-		-DMEGAGLEST_APPDATA_INSTALL_PATH=/usr/metainfo
+		-DMEGAGLEST_APPDATA_INSTALL_PATH="${EPREFIX}"/usr/share/metainfo #709450
 	)
+
 	cmake_src_configure
 }
 
 src_install() {
-	use doc && HTML_DOCS="docs/glest_factions/"
+	local DOCS=( docs/{AUTHORS.data,CHANGELOG,README}.txt )
+	use doc && local HTML_DOCS=( docs/glest_factions )
+
 	cmake_src_install
 }
-- 
cgit v1.2.3