commit:     e7bef52e276faff9eee96091c2ddfaa167aa4c55
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 26 16:21:01 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 16:25:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7bef52e

games-fps/ut2003-bonuspack-cm: Fix broken SRC_URI

The new download is a slightly different size and requires unpack_zip
to work.

Closes: https://bugs.gentoo.org/640552
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-fps/ut2003-bonuspack-cm/Manifest                     | 2 +-
 games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/games-fps/ut2003-bonuspack-cm/Manifest 
b/games-fps/ut2003-bonuspack-cm/Manifest
index c79a67927b0..b62d6451a53 100644
--- a/games-fps/ut2003-bonuspack-cm/Manifest
+++ b/games-fps/ut2003-bonuspack-cm/Manifest
@@ -1 +1 @@
-DIST cbp2003.zip 149198671 BLAKE2B 
c5f7352b7fb1e0e6a18c99a6212cd5cb4e5e6144988534f91aed93bf33b031d437e86eebf239f0a49fa20b90ca0ded09e912a96b798bc855d527423f2a299ba7
 SHA512 
92e136c03f1385a28163718cc6ef1c36e46fbad14c74d0f266dfe3d9f4a5093e1bd02dde54e68f70539ba2c4ee163b1e886529f7e734059a85223ab6f853a474
+DIST cbp2003.zip 149198696 BLAKE2B 
d6319e3605752e309411b16358696cdf0559b3cc6acedfae2f063eedb4ee98fefb470e9ff601cdce46821eaaa3f7c0ef3c13ddc2ce3639842ec98e1e68fefb85
 SHA512 
382ea605b7ce89654b7a58dfd1b36f0624bb0ac63aff6a07f1942dd3c8715ac6d79812828f2f28e2bd1b162673147e0ab8653ac67b4ee5d936e8840dede8e408

diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild 
b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
index 5e55eb9e951..d42bd801c5e 100644
--- a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
+++ b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1.ebuild
@@ -2,12 +2,12 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit games
 
-IUSE=""
+inherit games unpacker
+
 DESCRIPTION="Community Bonus Pack for UT2003"
 HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2003";
-SRC_URI="https://ut.rushbase.net/beyondunreal/mods/cbp2003.zip";
+SRC_URI="https://downloads.unrealadmin.org/UT2003/BonusPack/cbp2003.zip";
 
 LICENSE="ut2003"
 SLOT="1"
@@ -24,7 +24,7 @@ dir=${GAMES_PREFIX_OPT}/ut2003
 Ddir=${D}/${dir}
 
 src_unpack() {
-       unzip -qq "${DISTDIR}"/${A} || die
+       unpack_zip "${DISTDIR}"/${A}
 }
 
 src_install() {

Reply via email to