summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2015-01-31 20:21:30 +0100
committereroen <eroen@occam.eroen.eu>2015-01-31 20:23:42 +0100
commit0d4eab247b91c8e31fa67c69343f74705ae19e3a (patch)
tree2c70cd5d66e8bdac61d4c754e4f172e73230e9ea /games-puzzle
parentlibgraphics-40.24 - regenerate egg patch (diff)
downloaderoen-0d4eab247b91c8e31fa67c69343f74705ae19e3a.tar.gz
eroen-0d4eab247b91c8e31fa67c69343f74705ae19e3a.tar.bz2
eroen-0d4eab247b91c8e31fa67c69343f74705ae19e3a.zip
typerider - new ebuild
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/typerider/Manifest1
-rw-r--r--games-puzzle/typerider/metadata.xml11
-rw-r--r--games-puzzle/typerider/typerider-1395097265.ebuild79
3 files changed, 91 insertions, 0 deletions
diff --git a/games-puzzle/typerider/Manifest b/games-puzzle/typerider/Manifest
new file mode 100644
index 0000000..65c1161
--- /dev/null
+++ b/games-puzzle/typerider/Manifest
@@ -0,0 +1 @@
+DIST TypeRider_linux_1395097265.tar.gz 175068088 SHA256 cd7cfe581109a94f06bef0816a0246d1aecb18bde6e9db16afa33352df555b3f SHA512 3c91d66cb148286a3ddb7449dae2c10859bc5c035484f6e1647d978a71fc317602c1e02fa7ca1f0fe7ceeff012b6ae12323d1f74c4ce201a9f4f797923fee8f0 WHIRLPOOL 2f4db129f497cc4a23cd728d699cde5c04914ba4c166dbfb38720a7bb5f16d61510b1fc5bb8da827e29a4dbf8ffdbac4603c87815bd78acff478723698a7612e
diff --git a/games-puzzle/typerider/metadata.xml b/games-puzzle/typerider/metadata.xml
new file mode 100644
index 0000000..b1b8908
--- /dev/null
+++ b/games-puzzle/typerider/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ User data is saved in `~/.config/unity3d/ExNihilo`.
+ </longdescription>
+ <maintainer>
+ <email>overlay@faith.eroen.eu</email>
+ <name>eroen</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-puzzle/typerider/typerider-1395097265.ebuild b/games-puzzle/typerider/typerider-1395097265.ebuild
new file mode 100644
index 0000000..07191cb
--- /dev/null
+++ b/games-puzzle/typerider/typerider-1395097265.ebuild
@@ -0,0 +1,79 @@
+# By eroen, 2015
+# Distributed under the terms of the ISC licence
+# $Header: $
+
+EAPI=5
+
+inherit eutils games
+
+MY_PN=TypeRider
+
+DESCRIPTION="Platform game with two dots travelling through time and typography"
+HOMEPAGE="http://www.bulkypix.com/game/typerider"
+SRC_URI="${MY_PN}_linux_${PV}.tar.gz"
+RESTRICT="bindist fetch"
+S=${WORKDIR}/${MY_PN}
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64" # ~x86
+IUSE=""
+
+# xdg-utils is optional, used for launching a browser
+RDEPEND="
+ >=sys-devel/gcc-4.5.1[cxx]
+ >=sys-libs/glibc-2.11
+ virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXcursor
+ x11-misc/xdg-utils
+ "
+DEPEND=""
+# GLIBC_2.11
+# GLIBCXX_3.4.14
+
+MY_PREFIX=${GAMES_PREFIX_OPT}/${PN}
+MY_ARCH=${ARCH/amd64/x86_64}
+
+QA_FLAGS_IGNORED="
+ ${MY_PREFIX}/TypeRider\.${MY_ARCH}
+ ${MY_PREFIX}/TypeRider_Data/Mono/${MY_ARCH}/.*
+ "
+QA_PRESTRIPPED="
+ ${MY_PREFIX}/TypeRider\.${MY_ARCH}
+ ${MY_PREFIX}/TypeRider_Data/Mono/${MY_ARCH}/.*
+ "
+
+pkg_nofetch() {
+ elog "Please download ${A}"
+ elog "from ${HOMEPAGE} or http://humblebundle.com"
+ elog "and place it in ${DISTDIR}"
+}
+
+src_prepare() {
+ rm -rf TypeRider_Data/Plugins || die # Seems unused
+ local f d
+ for f in TypeRider.*; do
+ [[ $f = *${MY_ARCH} ]] && continue
+ rm -f "$f" || die "Failed to remove $f"
+ done
+ for d in TypeRider_Data/Mono/*; do
+ [[ $d = *${MY_ARCH} ]] && continue
+ rm -rf "$d" || die "Failed to remove $d"
+ done
+}
+
+src_install() {
+ insinto "$MY_PREFIX"
+ doins -r .
+
+ #into "$GAMES_BINDIR"
+ #dosym "$MY_PREFIX"/TypeRider.${MY_ARCH} $PN
+ games_make_wrapper $PN "$MY_PREFIX"/TypeRider.${MY_ARCH}
+ make_desktop_entry $PN "Type:Rider" "${MY_PREFIX}"/TypeRider_Data/Resources/UnityPlayer.png
+
+ prepgamesdirs
+ fperms g+x "$MY_PREFIX"/TypeRider.${MY_ARCH}
+}