blob: a8f9fa0449377c4c1befce0237f2b704317c69d3 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/papers-please/papers-please-1.1.62.ebuild,v 1.1 2014/03/05 02:16:28 hasufell Exp $
EAPI=5
inherit eutils games
DESCRIPTION="A Dystopian Document Thriller"
HOMEPAGE="http://papersplea.se"
SRC_URI="papers-please_${PV}_i386.tar.gz"
LICENSE="PAPERS-PLEASE"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="fetch bindist"
QA_PREBUILT="${GAMES_PREFIX_OPT#/}/${PN}/*"
RDEPEND="
amd64? (
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
x11-libs/libXext[abi_x86_32]
x11-libs/libXxf86vm[abi_x86_32]
x11-libs/libdrm[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
virtual/opengl[abi_x86_32]
)
x86? (
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXxf86vm
x11-libs/libdrm
x11-libs/libxcb
virtual/opengl
)"
S=${WORKDIR}/${PN}
pkg_nofetch() {
einfo
einfo "Please buy & download \"${SRC_URI}\" from:"
einfo " ${HOMEPAGE}"
einfo "and move/link it to \"${DISTDIR}\""
einfo
}
src_prepare() {
rm -v launch.sh LICENSE || die
mv README "${T}"/README || die
}
src_install() {
local dir=${GAMES_PREFIX_OPT}/${PN}
insinto "${dir}"
doins -r *
fperms +x "${dir}"/PapersPlease
games_make_wrapper ${PN} "./PapersPlease" "${dir}" "${dir}"
make_desktop_entry ${PN} "Papers, Please"
dodoc "${T}"/README
prepgamesdirs
}
|