-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-fps/ut2004-bonuspack-mega: Port to EAPI 7
Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
- Loading branch information
1 parent
5ae1a4d
commit 26cbbb8
Showing
2 changed files
with
46 additions
and
38 deletions.
There are no files selected for viewing
38 changes: 0 additions & 38 deletions
38
games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r3.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
DESCRIPTION="UT2004 Megapack - Megapack bonus pack" | ||
HOMEPAGE="http://www.unrealtournament2004.com/" | ||
SRC_URI="http://ut2004.ut-files.com/BonusPacks/ut2004megapack-linux.tar.bz2" | ||
|
||
LICENSE="ut2003" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
BDEPEND="app-arch/unzip" | ||
|
||
S="${WORKDIR}" | ||
|
||
src_prepare() { | ||
default | ||
|
||
mv -f UT2004MegaPack/* . || die | ||
rmdir UT2004MegaPack || die | ||
|
||
# Remove files in Megapack which are already installed | ||
rm -r Animations Speech Web || die | ||
|
||
rm Help/{ReadMePatch.int.txt,UT2004Logo.bmp} || die | ||
mv Help/BonusPackReadme.txt Help/MegapackReadme.txt || die | ||
|
||
rm Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2 || die | ||
rm Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax || die | ||
rm StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx || die | ||
|
||
# System | ||
rm System/{AL,AS-,B,b,C,D,E,F,G,I,L,O,o,S,s,U,V,W,X,x}* || die | ||
rm System/{ucc,ut2004}-bin || die | ||
rm System/{ucc,ut2004}-bin-linux-amd64 || die | ||
rm Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S,HourAdaraTexor,jwfasterfiles,ONSBP_DestroyedVehicles,ONSBPTextures,PC_UrbanTex,UT2004ECEPlayerSkins}.utx || die | ||
} | ||
|
||
src_install() { | ||
insinto /opt/ut2004 | ||
doins -r Help Maps Music Sounds StaticMeshes System Textures | ||
|
||
dosym ut2004 /opt/ut2004-ded | ||
} |