diff options
author | Stefan Garthe (the_mgt) <themgt@uncensored.citadel.org> | 2011-06-24 23:07:08 +0000 |
---|---|---|
committer | Stefan Garthe (the_mgt) <themgt@uncensored.citadel.org> | 2011-06-24 23:07:08 +0000 |
commit | a2c4786d56b13a307d25aef4847ee49c8288d7b2 (patch) | |
tree | f1d8f8ed14ce5f3b1806e1cd0aa29f05c91f7b1a /games-rpg | |
parent | Adding Privateer Gemini Gold Arts License for upcoming privateergold-1.03.ebu... (diff) | |
download | sunrise-a2c4786d56b13a307d25aef4847ee49c8288d7b2.tar.gz sunrise-a2c4786d56b13a307d25aef4847ee49c8288d7b2.tar.bz2 sunrise-a2c4786d56b13a307d25aef4847ee49c8288d7b2.zip |
games-rpg/privateergold: New Ebuild for bug #84425 thanks to binki and mrgorny for reviews
svn path=/sunrise/; revision=12153
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/privateergold/ChangeLog | 8 | ||||
-rw-r--r-- | games-rpg/privateergold/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/privateergold/files/privscript | 10 | ||||
-rw-r--r-- | games-rpg/privateergold/metadata.xml | 26 | ||||
-rw-r--r-- | games-rpg/privateergold/privateergold-1.03.ebuild | 46 |
5 files changed, 95 insertions, 0 deletions
diff --git a/games-rpg/privateergold/ChangeLog b/games-rpg/privateergold/ChangeLog new file mode 100644 index 000000000..980cb3de3 --- /dev/null +++ b/games-rpg/privateergold/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-rpg/privateergold +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 24 Jun 2011; Stefan Garthe (the_mgt) themgt@uncensored.citadel.org + +privateergold-1.03.ebuild, +files/privscript, +metadata.xml: + New Ebuild for bug #84425 thanks to binki and mrgorny for reviews + diff --git a/games-rpg/privateergold/Manifest b/games-rpg/privateergold/Manifest new file mode 100644 index 000000000..9e0fae55c --- /dev/null +++ b/games-rpg/privateergold/Manifest @@ -0,0 +1,5 @@ +AUX privscript 218 RMD160 becddd0014e8c01b70e94d60d64dada67c8d223a SHA1 589d25ed01c036b7d7a07eaefd15f566b300077b SHA256 02aa647572365be59b8c482e9dcdacb50c7ac16ef5983c5136cd1298802d9cf4 +DIST PrivateerGold1.03.bz2.bin 316782609 RMD160 0a9d3105325d2f4255a5c33abcbc974c9f230d31 SHA1 7398e9ca57dad8661c788b3433b147037e7b381b SHA256 5e0f10eb8fda8a2b4f9d23044bf66d8ffa04ce2a1767892ff1eddde38b06698a +EBUILD privateergold-1.03.ebuild 1380 RMD160 faa9ef364cc8b0626a5550428d38c716dcffd8e5 SHA1 bb4a8e28c5d782af96e09ceac79a3de18d85d3ac SHA256 0d902bffe7055dfccf83042f8e62b2dede9d30ff9f14132c49e8723041b2611c +MISC ChangeLog 326 RMD160 797bc2d4775a9d409fb6f3398b0c9dc05208c599 SHA1 992858816ce50fa7c2b9c9292e6da74c5be50f4e SHA256 bd435c382ed7b7e56aa613c56175afe49a37e35aebdfc75c57f5ce2c07b97784 +MISC metadata.xml 1108 RMD160 c42a74f71c035d531191f989f00209f4b109b761 SHA1 77c082e7aae20c0b8ff5bb40fe49af0b1764ad2b SHA256 1076b8d5c2e9795eda6ceb0095136fc96d0e9dcb41a99321e013fdd9456722d6 diff --git a/games-rpg/privateergold/files/privscript b/games-rpg/privateergold/files/privscript new file mode 100644 index 000000000..91676b273 --- /dev/null +++ b/games-rpg/privateergold/files/privscript @@ -0,0 +1,10 @@ +#!/bin/sh +GAMESDIR="/usr/share/games" +PRIVDIR="$GAMESDIR/privateergold" + +VERSION=`head -1 $PRIVDIR/Version.txt` +if [ \! -e ~/$VERSION ]; then + cd $PRIVDIR/bin && ./vsinstall.sh +else + cd $PRIVDIR/bin && ./privgold +fi diff --git a/games-rpg/privateergold/metadata.xml b/games-rpg/privateergold/metadata.xml new file mode 100644 index 000000000..3973aec87 --- /dev/null +++ b/games-rpg/privateergold/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer> + <longdescription>Back in 1993 Privateer was released as part of the + Wing Commander series and became a great success in the gaming + industry. Over 10 years later a small group of privateer + enthusiasts reintroduced the game with a new graphic engine + and real 3D spaceflight. + + As Grayson Burrows you inherited a small old scout class ship + from your grandfather, to start over as a Privateer in a new + and sparsely populated sector of the Confederation. Take your + chance and become a pirate, merchant or bounty hunter upgrade + your ship and experience the hard truth in a border sector + where no one has anything to give away ... + </longdescription> + <upstream> + <maintainer> + <email>priv@solsector.net</email> + </maintainer> + <doc>http://privateer.sourceforge.net/faq.shtml</doc> + <bugs-to>http://privateer.sourceforge.net/comlink/</bugs-to> + </upstream> +</pkgmetadata> diff --git a/games-rpg/privateergold/privateergold-1.03.ebuild b/games-rpg/privateergold/privateergold-1.03.ebuild new file mode 100644 index 000000000..16f68c0fc --- /dev/null +++ b/games-rpg/privateergold/privateergold-1.03.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit eutils games + +DESCRIPTION="WC: Privateer Gemini Gold, remake of the adventure space flight simulation" +HOMEPAGE="http://privateer.sourceforge.net/" +SRC_URI="mirror://sourceforge/privateer/PrivateerGold${PV}.bz2.bin" + +LICENSE="GPL-2 PGG-AL" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="amd64? ( app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs ) + x86? ( virtual/opengl + x11-libs/libX11 )" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack_makeself +} + +src_prepare() { :; } +src_compile() { :; } + +src_install() { + dodoc Manual.pdf || die "Installation of docs failed" + newgamesbin "${FILESDIR}"/privscript privateergold || die "Couldn't install launcher" + insinto "${GAMES_DATADIR}/${PN}" + doins -r * || die "Installation of game data failed" + make_desktop_entry ${PN} "Privateer Gemini Gold" + prepgamesdirs + fperms ug+x "${GAMES_DATADIR}/${PN}"/bin/{privgold,privserver,privsetup,soundserver,vsinstall.sh} || "chmod of game bins failed" +} + +pkg_postinst() { + elog "You can change game options with ${GAMES_DATADIR}/${PN}/bin/privsetup" + elog "There is a manual and an intro under ${GAMES_DATADIR}/${PN}/" + ewarn "Having /tmp mounted with noexec will cause the game to segfault" + ewarn "at startup under kernel 2.6.39" +} |