blob: 91ad6183cc8e3c93d85ceb5275369f2c27c01cca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-textures/quake2-textures-0_beta8.ebuild,v 1.5 2015/01/31 16:35:13 tupone Exp $
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
}
|