* [gentoo-commits] repo/gentoo:master commit in: games-fps/quake1-textures/
@ 2017-11-25 14:19 Patrick Lauer
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Lauer @ 2017-11-25 14:19 UTC (permalink / raw
To: gentoo-commits
commit: 6a50dde853221b4ef7b6dba41c6ac5195064a151
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 14:17:54 2017 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 14:19:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a50dde8
games-fps/quake1-textures: Whitespace
Package-Manager: Portage-2.3.16, Repoman-2.3.6
games-fps/quake1-textures/quake1-textures-20050820.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/games-fps/quake1-textures/quake1-textures-20050820.ebuild b/games-fps/quake1-textures/quake1-textures-20050820.ebuild
index b030e4a2074..4489581ed4a 100644
--- a/games-fps/quake1-textures/quake1-textures-20050820.ebuild
+++ b/games-fps/quake1-textures/quake1-textures-20050820.ebuild
@@ -1,5 +1,6 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+
EAPI=5
inherit eutils games
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/quake1-textures/
@ 2021-04-07 1:58 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-07 1:58 UTC (permalink / raw
To: gentoo-commits
commit: 726be8a842870ef8bab063fbccb32b3f40a2577e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 01:21:23 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 7 01:57:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=726be8a8
games-fps/quake1-textures: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam <AT> gentoo.org>
...0.ebuild => quake1-textures-20050820-r1.ebuild} | 30 +++++++++-------------
1 file 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
similarity index 68%
rename from games-fps/quake1-textures/quake1-textures-20050820.ebuild
rename to games-fps/quake1-textures/quake1-textures-20050820-r1.ebuild
index 4489581ed4a..38e4e9a9dfa 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."
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-07 1:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-25 14:19 [gentoo-commits] repo/gentoo:master commit in: games-fps/quake1-textures/ Patrick Lauer
-- strict thread matches above, loose matches on Subject: below --
2021-04-07 1:58 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox