You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
53 lines
1.1 KiB
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-textures/quake1-textures-20050820.ebuild,v 1.8 2012/01/23 22:33:19 ssuominen Exp $
|
|
|
|
inherit eutils games
|
|
|
|
MY_SKINS="SKINSbmodels-48files-4-23-05.zip"
|
|
MY_TEXTURES="textures-486files-8-20-05.rar"
|
|
|
|
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}"
|
|
|
|
LICENSE="as-is"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=""
|
|
DEPEND="app-arch/unzip
|
|
|| (
|
|
app-arch/unrar
|
|
app-arch/rar )"
|
|
|
|
S=${WORKDIR}
|
|
dir=${GAMES_DATADIR}/quake1
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
|
|
mv readme.txt skins.txt
|
|
}
|
|
|
|
src_install() {
|
|
insinto "${dir}"/id1/textures
|
|
doins -r *.tga \
|
|
|| die "doins *.tga failed"
|
|
|
|
# Set up symlink, for the demo levels to include the textures
|
|
dosym "${dir}/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."
|
|
}
|