Verified Commit ab23a962 authored by flussence's avatar flussence

Add ut2004-bonuspack-mega

This stuff is more or less done now.
parent f379c82b
......@@ -15,6 +15,8 @@ EXPORT_FUNCTIONS src_install
SLOT="0"
RESTRICT="mirror strip"
DEPEND="app-arch/unzip"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
GAME_DATADIR="/usr/share/games/ut2004"
GAME_SUBDIRS=(Animations Help Maps Music Sounds StaticMeshes System Textures)
......
......@@ -10,7 +10,4 @@ HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004"
SRC_URI="mirror://ipfs/ipfs/QmX2WjFtWdhf87GR5g6UrkQhE8qKtVnhpeDkrW7Z3NpFDv -> cbp1.zip"
LICENSE="freedist"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}"
......@@ -11,14 +11,11 @@ SRC_URI="mirror://ipfs/ipfs/QmdphFqmxmA4AVbfYXkX41e9Ad2VDEvR1WgHy57F5cbP3X -> cb
mirror://ipfs/ipfs/QmV8H3Kf6LQDwfUB4EKfMAoW1bhmE6b3m3XNCcnpaMGGeD -> cbp2-volume2_zip.zip"
LICENSE="freedist"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="games-fps/ut2004-bonuspack-cbp1
games-fps/ut2004-bonuspack-mega"
S="${WORKDIR}"
src_prepare() {
default
......
......@@ -12,11 +12,8 @@ SRC_URI="mirror://ipfs/ipfs/QmXcU3L3yhq4aVBdP9Lx7Ego9vH63D5Kx1PouvTuh8orz4 -> ${
mirror://ipfs/ipfs/QmQCpjBGdMYof2yNF5cQHrQNSzjvGkXh15uZN2RbS1HJjz -> ${MY_P[1]}"
LICENSE="ut2003"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}"
src_unpack() {
unpack "${MY_P[0]}"
cd UT2004MegaPack/Maps || die
......@@ -24,6 +21,8 @@ src_unpack() {
}
src_prepare() {
default
mv -f UT2004MegaPack/* . || die
rmdir UT2004MegaPack || die
......@@ -53,6 +52,4 @@ src_prepare() {
rm System/{Manifest.in{i,t},OnslaughtFull.int} || die
rm System/{Core.int,Engine.int,Setup.int,Window.int} || die
rm System/{OnslaughtFull.u,OnslaughtBP.u} || die
default
}
DIST ut2004megapack-linux.tar.bz2 203124107 BLAKE2B 1459e2638181411446ec5679bceb44023382b3533951478ee06c274199688f3bbe341d7f7806299a332373791b6d0a9e1b57efdc6a13a5983220e0adbc413118 SHA1 97f7865bc1b5c70ec82498b79ce7d85a4a26e40b SHA512 4ae5eec0622c2bd96dfc162541bc0771399b012fb00f022282bc8c34600cb8e9bb7c18a52dd55fbef6f16fedaf225e301c46077a6accd001f4c77ddad89ed17b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ant+gentoo.bugs@flussence.eu</email>
<name>Anthony Parsons</name>
</maintainer>
</pkgmetadata>
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="UT2004 Megapack bonus pack"
inherit ut2004-mod
HOMEPAGE="http://www.unrealtournament2004.com/"
MY_P="ut2004megapack-linux.tar.bz2"
SRC_URI="mirror://ipfs/ipfs/QmXcU3L3yhq4aVBdP9Lx7Ego9vH63D5Kx1PouvTuh8orz4 -> ${MY_P}"
LICENSE="ut2003"
IUSE=""
src_prepare() {
default
mv -f UT2004MegaPack/* . || die
rmdir UT2004MegaPack
# Remove files in Megapack which are already installed by ut2004-bonuspack-ece
rm -r Animations Speech Web
rm Help/{ReadMePatch.int.txt,UT2004Logo.bmp}
mv Help/BonusPackReadme.txt Help/MegapackReadme.txt
rm Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2
rm Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax
rm StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx
# System
rm System/{AL,AS-,B,b,C,D,E,F,G,I,L,O,o,S,s,U,V,W,X,x}*
rm System/{ucc,ut2004}-bin
rm System/{ucc,ut2004}-bin-linux-amd64
rm Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S,HourAdaraTexor,jwfasterfiles,ONSBP_DestroyedVehicles,ONSBPTextures,PC_UrbanTex,UT2004ECEPlayerSkins}.utx
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment