1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="WC: Privateer Gemini Gold, remake of the adventure space flight simulation"
10 HOMEPAGE="http://privateer.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/privateer/PrivateerGold${PV}.bz2.bin"
13 LICENSE="GPL-2 PGG-AL"
15 KEYWORDS="-* ~amd64 ~x86"
18 RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs
19 app-emulation/emul-linux-x86-gtklibs
20 app-emulation/emul-linux-x86-opengl
21 app-emulation/emul-linux-x86-xlibs )
38 dodoc Manual.pdf || die "Installation of docs failed"
39 newgamesbin "${FILESDIR}"/privscript privateergold || die "Couldn't install launcher"
40 insinto "${GAMES_DATADIR}/${PN}"
41 doins -r * || die "Installation of game data failed"
42 make_desktop_entry ${PN} "Privateer Gemini Gold"
44 fperms ug+x "${GAMES_DATADIR}/${PN}"/bin/{privgold,privserver,privsetup,soundserver,vsinstall.sh} || "chmod of game bins failed"
48 elog "You can change game options with ${GAMES_DATADIR}/${PN}/bin/privsetup"
49 elog "There is a manual and an intro under ${GAMES_DATADIR}/${PN}/"
50 ewarn "Having /tmp mounted with noexec will cause the game to segfault"
51 ewarn "at startup under kernel 2.6.39"