mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
games-fps/ut2004-bonuspack-xp: New package
These maps were previously included in games-fps/ut2004-bonuspack-ece, but they should not have been. They were never included in any release of the game or in any other bonus pack, and they are not installed by OldUnreal's installer. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
1
games-fps/ut2004-bonuspack-xp/Manifest
Normal file
1
games-fps/ut2004-bonuspack-xp/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST UT2004-ONSBonusMapPack.zip 11018471 BLAKE2B bc915d6942c321df4031b02eaa25f83793b3fa1f2bb916c5d413c5569a3f887b6517fc4dceb8cb914e22be62f58512e727a41d5efbc6066113be12a9da9621d0 SHA512 8193375b89cd6fbc8b00de195797099c128fcf5cb73757bbc57d3c5350c497a878eaf0200f2e0711bf062e25c5d170e05b055c63f85b908b18dcc89572d71fd2
|
||||
8
games-fps/ut2004-bonuspack-xp/metadata.xml
Normal file
8
games-fps/ut2004-bonuspack-xp/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
41
games-fps/ut2004-bonuspack-xp/ut2004-bonuspack-xp-1.ebuild
Normal file
41
games-fps/ut2004-bonuspack-xp/ut2004-bonuspack-xp-1.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
DESCRIPTION="UT2004 XP Bonus Maps"
|
||||
HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004"
|
||||
SRC_URI="http://unrealmassdestruction.com/downloads/ut2k4/essentials/UT2004-ONSBonusMapPack.zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="free-noncomm"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
>=games-fps/ut2004-3374_pre23
|
||||
"
|
||||
RDEPEND="
|
||||
games-fps/ut2004-data
|
||||
!games-fps/ut2004-bonuspack-ece
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
mkdir Maps || die
|
||||
cd Maps || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ut2004-ucc exportcache -mod=Gentoo Maps/*.ut2 || die
|
||||
# The base game already knows about these maps, so it writes the cache to a
|
||||
# single file rather than separate ones. We must rename to avoid a conflict.
|
||||
mv -v System/{CacheRecords,${PN}}.ucl || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/ut2004
|
||||
doins -r *
|
||||
}
|
||||
Reference in New Issue
Block a user