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.
42 lines
782 B
42 lines
782 B
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
inherit eutils versionator games
|
|
|
|
MY_PV=$(get_version_component_range 2-2)
|
|
MY_PV=${MY_PV/beta/}
|
|
|
|
DESCRIPTION="High-resolution textures for Quake 2"
|
|
HOMEPAGE="http://jdolan.tastyspleen.net/"
|
|
SRC_URI="http://jdolan.tastyspleen.net/pak${MY_PV}.zip"
|
|
|
|
LICENSE="all-rights-reserved"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
RESTRICT="mirror bindist"
|
|
|
|
RDEPEND=""
|
|
DEPEND="app-arch/unzip"
|
|
|
|
S=${WORKDIR}
|
|
dir=${GAMES_DATADIR}/quake2
|
|
|
|
src_install() {
|
|
insinto "${dir}"/baseq2
|
|
doins *.pak
|
|
|
|
dodoc README
|
|
|
|
prepgamesdirs
|
|
}
|
|
|
|
pkg_postinst() {
|
|
games_pkg_postinst
|
|
|
|
elog "Use a recent Quake 2 client to take advantage of"
|
|
elog "these textures, e.g. qudos or quake2-icculus."
|
|
echo
|
|
}
|