diff options
author | Erik Hahn (a_b) <erik_hahn@gmx.de> | 2009-01-01 23:47:15 +0000 |
---|---|---|
committer | Erik Hahn (a_b) <erik_hahn@gmx.de> | 2009-01-01 23:47:15 +0000 |
commit | 55199a8b6e40109dfbde09ccfb5588da4ccbb244 (patch) | |
tree | 47438b6f8aa10aa555bcce291e0678159a76f5f1 /games-rpg | |
parent | Add thirdpartymirrors containint entry for planeshift (diff) | |
download | sunrise-55199a8b6e40109dfbde09ccfb5588da4ccbb244.tar.gz sunrise-55199a8b6e40109dfbde09ccfb5588da4ccbb244.tar.bz2 sunrise-55199a8b6e40109dfbde09ccfb5588da4ccbb244.zip |
games-rpg/planeshift-bin: Add games-rpg/planeshift-bin (Bug #253383)
svn path=/sunrise/; revision=7573
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/planeshift-bin/ChangeLog | 8 | ||||
-rw-r--r-- | games-rpg/planeshift-bin/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/planeshift-bin/metadata.xml | 5 | ||||
-rw-r--r-- | games-rpg/planeshift-bin/planeshift-bin-0.4.03.ebuild | 40 |
4 files changed, 58 insertions, 0 deletions
diff --git a/games-rpg/planeshift-bin/ChangeLog b/games-rpg/planeshift-bin/ChangeLog new file mode 100644 index 000000000..0b6f5a98b --- /dev/null +++ b/games-rpg/planeshift-bin/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-rpg/planeshift-bin +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 01 Jan 2009; Erik Hahn (a_b) <erik_hahn@gmx.de> + +planeshift-bin-0.4.03.ebuild, +metadata.xml: + Add games-rpg/planeshift-bin (Bug #253383) + diff --git a/games-rpg/planeshift-bin/Manifest b/games-rpg/planeshift-bin/Manifest new file mode 100644 index 000000000..7bd3744cf --- /dev/null +++ b/games-rpg/planeshift-bin/Manifest @@ -0,0 +1,5 @@ +DIST PlaneShift-v0.4.03-x64.bin 375332657 RMD160 4bf4ede2272cb3d64736933461b8185c2cc8d3dd SHA1 7a80193c44a4772c556c1fb4a551d98e8ad63519 SHA256 0322dd06a31764e5c86c3a0b512cceb7da6bbac8c06fa0fb73524d135877083c +DIST PlaneShift-v0.4.03-x86.bin 373678071 RMD160 c15199a891c1ad9b606f3859297ae36da93203ff SHA1 a55a5b92d209c9dc8056bf5c12c648fe0c07c850 SHA256 d42b052b7fd5208ec98edf608ec9b2ed53ba00ecdc108a7660818ebbbf68a2b9 +EBUILD planeshift-bin-0.4.03.ebuild 1096 RMD160 6c55b19a77e9c9ba8c860b4a1f292a7e85f4c41d SHA1 0828412351fa7c46b299db904cdf73dd79cfafdc SHA256 21e37e11c9746c97767b63b43ba35ba6c17e1b5c4fb0ea24a19e18866f484cfd +MISC ChangeLog 269 RMD160 deae7eefb96f93c97b46ab37d2e27f6790190892 SHA1 9592bd2ef1e8a844d8342fcb3c478ddbe8cad080 SHA256 683288962129d152b8937cac6e6060f0a69029c9ddc07abc66770f562539852c +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/games-rpg/planeshift-bin/metadata.xml b/games-rpg/planeshift-bin/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/games-rpg/planeshift-bin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/games-rpg/planeshift-bin/planeshift-bin-0.4.03.ebuild b/games-rpg/planeshift-bin/planeshift-bin-0.4.03.ebuild new file mode 100644 index 000000000..b41659606 --- /dev/null +++ b/games-rpg/planeshift-bin/planeshift-bin-0.4.03.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit games + +DESCRIPTION="A 3D Fantasy MMORPG" +HOMEPAGE="http://planeshift.it" +SRC_URI="x86? ( mirror://planeshift/PlaneShift-v0.4.03-x86.bin ) + amd64? ( mirror://planeshift/PlaneShift-v0.4.03-x64.bin )" + +LICENSE="GPL-3 PlaneShift" +SLOT="0" +KEYWORDS="-* ~x86" # amd64 might work as well, I just can't test it +IUSE="" + +RESTRICT="strip" + +src_unpack() { + cp -L "${DISTDIR}/${A}" "${WORKDIR}" || die + chmod +x "${WORKDIR}/${A}" || die +} + +src_install() { + "${WORKDIR}"/${A} \ + --mode unattended \ + --perms yes \ + --usergroup games \ + --prefix ${D}/${GAMES_PREFIX_OPT} || die + + rm "${D}/${GAMES_PREFIX_OPT}"/PlaneShift/psupdater + rm "${D}/${GAMES_PREFIX_OPT}"/PlaneShift/psupdater.bin + rm "${D}/${GAMES_PREFIX_OPT}"/PlaneShift/uninstall + + games_make_wrapper psclient "${GAMES_PREFIX_OPT}/PlaneShift/psclient" + make_desktop_entry psclient "Play PlaneShift" + + games_make_wrapper pssetup "${GAMES_PREFIX_OPT}/PlaneShift/pssetup" + make_desktop_entry pssetup "PlaneShift setup" +} |