summaryrefslogtreecommitdiff
path: root/games-fps/quake1-textures
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-fps/quake1-textures
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-fps/quake1-textures')
-rw-r--r--games-fps/quake1-textures/Manifest2
-rw-r--r--games-fps/quake1-textures/quake1-textures-20050820-r1.ebuild (renamed from games-fps/quake1-textures/quake1-textures-20050820.ebuild)30
2 files changed, 13 insertions, 19 deletions
diff --git a/games-fps/quake1-textures/Manifest b/games-fps/quake1-textures/Manifest
index f30678a7a3c0..757956340048 100644
--- a/games-fps/quake1-textures/Manifest
+++ b/games-fps/quake1-textures/Manifest
@@ -1,4 +1,4 @@
DIST SKINSbmodels-48files-4-23-05.zip 12627945 BLAKE2B 0197f230ef0506aa2fe6ff47e270da9ccc28c78ac3f9e3f961e1026921723999606a41082072ea8c498d9ee49ad7a7c796c21566dc3a1fbab0ccfac2535921d4 SHA512 dcd39b7d8544d4c381b2917820e1cec193f4279eca1c2d1b260cfc0d019a224bef84b4cd6a19da37331913533541d90ac72ac119592eb95cc82c9e2bac8ab37e
DIST textures-486files-8-20-05.rar 207799283 BLAKE2B 3c59200ded0fecf986261ebe9f85e63291e3c003821f5f8e6157bbe4731ceba98133d0bf98a0dd5ca4b5a52fe2f490e0c65e98e53dcf4f994f47e550f0c4f29e SHA512 3809bea3ff1d7bc7acff51d8f19890677a563778cfb418d3f6ae940ceffa8953a1cf10dd7cc3a5d30715e6d2e79331ec88dd72f1ba22ebec0d179a01ad0eda2a
-EBUILD quake1-textures-20050820.ebuild 1014 BLAKE2B a5cb1d36d13b9dfd8daa0f76a09435ff23a4f7d95bdb93f4db3210a907635a9b12ef09798362249c178850bde54f6ab3082d5e44b8be909fd3ee42a34f7f16d6 SHA512 338fcdfc6fb881239a231e2aad25ebaa1943030009632e9a2525a7c96b0665c327b631c38c3fb6f572aa4606b49c24a44febbc1d2a2d224442844d8f45264bad
+EBUILD quake1-textures-20050820-r1.ebuild 937 BLAKE2B 806240924952058809d9510b8140e49f760036c979dcf8afa8e09f679bf2dd29445c48f07ea760edf1fb297a76019db67c63c2f64868f06e5b5484f3d98c47a8 SHA512 0ea3c4bd4bce8664f22a4353e9b155549406d3a6eea258585dcd13e3ec426409d1a93b40a2c91dfff78ac61b8f05fcbd51cb92dc6c2a827380c13ff2e348449a
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
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."
}