summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-16 21:10:12 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-16 21:10:12 +0000
commit16d548c49a60494d24a42d74acb261d1062923f7 (patch)
treeb015573ba5194e720bbcff0e9ce1bb87f989db7a /games-action
parentFirst release on the 2.5 branch, no longer masked. Removed old ebuilds. (diff)
downloadhistorical-16d548c49a60494d24a42d74acb261d1062923f7.tar.gz
historical-16d548c49a60494d24a42d74acb261d1062923f7.tar.bz2
historical-16d548c49a60494d24a42d74acb261d1062923f7.zip
New package.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'games-action')
-rw-r--r--games-action/trine-bin/ChangeLog10
-rw-r--r--games-action/trine-bin/Manifest14
-rw-r--r--games-action/trine-bin/metadata.xml5
-rw-r--r--games-action/trine-bin/trine-bin-1.08.ebuild63
4 files changed, 92 insertions, 0 deletions
diff --git a/games-action/trine-bin/ChangeLog b/games-action/trine-bin/ChangeLog
new file mode 100644
index 000000000000..e2cc4079c47c
--- /dev/null
+++ b/games-action/trine-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/trine-bin
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/trine-bin/ChangeLog,v 1.1 2011/04/16 21:10:12 vapier Exp $
+
+*trine-bin-1.08 (16 Apr 2011)
+
+ 16 Apr 2011; Mike Frysinger <vapier@gentoo.org> +trine-bin-1.08.ebuild,
+ +metadata.xml:
+ New package.
+
diff --git a/games-action/trine-bin/Manifest b/games-action/trine-bin/Manifest
new file mode 100644
index 000000000000..733102e8d7a3
--- /dev/null
+++ b/games-action/trine-bin/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST Trine.64.run 648471997 RMD160 30cbbf86628430f24fc5f9b03fbf400702a8913b SHA1 47dc6092980ea590ae8d71939bb4b04d0626aba1 SHA256 1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db
+EBUILD trine-bin-1.08.ebuild 1720 RMD160 73d0f0add94446a13bbca75314bda9e859c3a930 SHA1 e00889b6085c6b79d9c78df46ef1a8f0b1ec7c7e SHA256 0b220fe78842a65c104eb9619822ca80b0e387560c9fc294d4c16d445574db3b
+MISC ChangeLog 355 RMD160 4c6005639b03532c875a8d78214902c98008ee76 SHA1 245e4ae2c34e07c2227a07b26aea5746f6d512db SHA256 fd2a910195a6316f654b01384c3815714d316b16c94ff1df16efa904227e421c
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk2qBbsACgkQaC/OocHi7JZmhwD+Ns5gjsBq7Zu2T5gQuoLOU8xG
+6299iMnEYNg+LgK/AU8BAJguYBzr/oKR/1dUk3vWcBjEtVSkK8rcqkVkj6hBzAeI
+=YdCJ
+-----END PGP SIGNATURE-----
diff --git a/games-action/trine-bin/metadata.xml b/games-action/trine-bin/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-action/trine-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>games</herd>
+</pkgmetadata>
diff --git a/games-action/trine-bin/trine-bin-1.08.ebuild b/games-action/trine-bin/trine-bin-1.08.ebuild
new file mode 100644
index 000000000000..78cec9546a56
--- /dev/null
+++ b/games-action/trine-bin/trine-bin-1.08.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/trine-bin/trine-bin-1.08.ebuild,v 1.1 2011/04/16 21:10:12 vapier Exp $
+
+# these are ELFs that include a ZIP (504b0304) appended to it
+# dd if=Trine.64.run of=Trine.64.zip ibs=$((0x342a8)) skip=1
+# dd if=Trine.32.run of=Trine.32.zip ibs=$((0x31c24)) skip=1
+# but `unzip` will skip the ELF at the start. both ELFs contain
+# the same zip appended, so only need to hash one of them.
+
+inherit games eutils
+
+DESCRIPTION="a physics-based action game where diff characters allow diff solutions to challenges"
+HOMEPAGE="http://trine-thegame.com/"
+SRC_URI="Trine.64.run"
+
+LICENSE="trine-eula"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="fetch"
+
+DEPEND="app-arch/unzip"
+RDEPEND="sys-libs/glibc"
+
+S=${WORKDIR}
+
+d="${GAMES_PREFIX_OPT}/${PN}"
+QA_PRESTRIPPED="${d#/}/trine-launcher ${d#/}/trine-bin ${d#/}/lib*/lib*.so*"
+
+pkg_nofetch() {
+ einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}"
+ einfo "See http://www.humblebundle.com/ for more info."
+}
+
+src_unpack() {
+ # manually run unzip as the initial seek causes it to exit(1)
+ unzip -q "${DISTDIR}/${A}"
+}
+
+src_install() {
+ local b bb
+ local sfx=$(use x86 && echo 32 || echo 64)
+
+ doicon Trine.xpm || die
+ for b in bin launcher ; do
+ bb="trine-${b}"
+ exeinto ${d}
+ newexe ${bb}${sfx} ${bb} || die
+ games_make_wrapper ${bb} "./${bb}" "${d}" || die
+ make_desktop_entry ${bb} "Trine ${b}" Trine
+ done
+
+ exeinto ${d}/lib${sfx}
+ doexe lib${sfx}/* || die
+
+ insinto ${d}
+ doins -r binds config data dev profiles *.fbz *.glade trine-logo.png || die
+
+ dodoc Trine_Manual_linux.pdf Trine_updates.txt
+
+ prepgamesdirs
+}