diff options
author | Sam James <sam@gentoo.org> | 2021-04-07 01:21:23 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-07 01:57:35 +0000 |
commit | 726be8a842870ef8bab063fbccb32b3f40a2577e (patch) | |
tree | 5fa35d753615b6f0282541cfe9316c5a46dc3565 | |
parent | games-fps/soldieroffortune: port to EAPI 7, games.eclass-- (diff) | |
download | gentoo-726be8a842870ef8bab063fbccb32b3f40a2577e.tar.gz gentoo-726be8a842870ef8bab063fbccb32b3f40a2577e.tar.bz2 gentoo-726be8a842870ef8bab063fbccb32b3f40a2577e.zip |
games-fps/quake1-textures: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | games-fps/quake1-textures/quake1-textures-20050820-r1.ebuild (renamed from games-fps/quake1-textures/quake1-textures-20050820.ebuild) | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/games-fps/quake1-textures/quake1-textures-20050820.ebuild b/games-fps/quake1-textures/quake1-textures-20050820-r1.ebuild index 4489581ed4ad..38e4e9a9dfa7 100644 --- a/games-fps/quake1-textures/quake1-textures-20050820.ebuild +++ b/games-fps/quake1-textures/quake1-textures-20050820-r1.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils games +EAPI=7 MY_SKINS="SKINSbmodels-48files-4-23-05.zip" MY_TEXTURES="textures-486files-8-20-05.rar" @@ -11,41 +10,36 @@ DESCRIPTION="Collection of graphical improvements for Quake 1" HOMEPAGE="http://facelift.quakedev.com/" SRC_URI="http://facelift.quakedev.com/download/${MY_SKINS} http://facelift.quakedev.com/download/${MY_TEXTURES}" +S="${WORKDIR}" LICENSE="quake1-textures" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RDEPEND="" -DEPEND="app-arch/unzip +BDEPEND=" + app-arch/unzip || ( app-arch/unrar - app-arch/rar )" - -S=${WORKDIR} -dir=${GAMES_DATADIR}/quake1 + app-arch/rar + ) +" src_unpack() { unpack ${A} - mv readme.txt skins.txt + mv readme.txt skins.txt || die } src_install() { - insinto "${dir}"/id1/textures + local dir=/usr/share/quake1 + insinto ${dir}/id1/textures doins -r *.tga # Set up symlink, for the demo levels to include the textures - dosym "${dir}/id1/textures" "${dir}/demo/textures" - + dosym ../id1/textures ${dir}/demo/textures dodoc *.txt - - prepgamesdirs } pkg_postinst() { - games_pkg_postinst - elog "Use a Quake 1 client (e.g. darkplaces) to take advantage of these." } |