Gentoo Archives: gentoo-commits

From: Philip Miess <Phil_miess@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/superposition:master commit in: games-sports/monstertruckdestruction/
Date: Wed, 13 Jun 2018 00:17:01
Message-Id: 1528849116.60445b7a0e44a2537f01122c90f344f7c9998638.Phil_miess@gentoo
1 commit: 60445b7a0e44a2537f01122c90f344f7c9998638
2 Author: Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
3 AuthorDate: Wed Jun 13 00:18:36 2018 +0000
4 Commit: Philip Miess <Phil_miess <AT> yahoo <DOT> com>
5 CommitDate: Wed Jun 13 00:18:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=60445b7a
7
8 add Monster Truck Destrucktion
9
10 games-sports/monstertruckdestruction/Manifest | 3 +
11 games-sports/monstertruckdestruction/metadata.xml | 17 +++++
12 .../monstertruckdestruction-1.ebuild | 81 ++++++++++++++++++++++
13 3 files changed, 101 insertions(+)
14
15 diff --git a/games-sports/monstertruckdestruction/Manifest b/games-sports/monstertruckdestruction/Manifest
16 new file mode 100644
17 index 0000000..83c5fe1
18 --- /dev/null
19 +++ b/games-sports/monstertruckdestruction/Manifest
20 @@ -0,0 +1,3 @@
21 +DIST monstertruckdestruction_linux.zip 155708482 BLAKE2B 4cac815823f60ad42dcb28a4443063e8c79d4156186c102657c7b9a8835d5574184c7ba4a64a125de31b485a58cda251deacf830bc04e41e89d391edf3e26905 SHA512 dff0cb587f2e3ad5988e506f41634fcc34be466b53ae028b664f66806b4f6e2cdd718fad57daa0778b4b38c6c1401cfed7d20969a6a5e3c76e1b89b922f5d2a7
22 +EBUILD monstertruckdestruction-1.ebuild 1615 BLAKE2B 68fbfbfe866b9a9d726d928a81285daf460cf11a9e05ff8e4c8b033a5133acdfa7835ce798b1020289e0af5dfdc6e8ca0ae9a13fa85bd1061a044257b32df6d6 SHA512 c22af7e320ac787464cf0bb44f881c7f2779ade758edfad704c48ad363315ee359f0b7fc6225f2d3822687d53017909e5f70340e923037e1bce483b2ff85fe02
23 +MISC metadata.xml 743 BLAKE2B b511c04c842b8d8ddcf8634bcddadde8999e74103299f1a97b9ee9a2433addaff7f44e58ef958d1578a6bec346bbb5641b3ce45e32899aad68ecad11028a5760 SHA512 5619d223c4809e97d84c56412060ac1aa849ae40f3942b65448096dbcd55f1932d3276c39c3632a18b4faab1a51484061b43c1520f95fee4369d7e8e99a05d36
24
25 diff --git a/games-sports/monstertruckdestruction/metadata.xml b/games-sports/monstertruckdestruction/metadata.xml
26 new file mode 100644
27 index 0000000..962088c
28 --- /dev/null
29 +++ b/games-sports/monstertruckdestruction/metadata.xml
30 @@ -0,0 +1,17 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 +<maintainer type="person">
35 +<email>phil_miess@×××××.com</email>
36 +</maintainer>
37 +<longdescription lang="en">
38 +MONSTER
39 +Compete in 4 championships across 28 offroad tracks in drag or freestyle, land insane jumps, backflips and master your monster truck.
40 +
41 +TRUCK
42 +Drive over 60 licensed monster trucks such as BIGFOOT, USA-1, Boogey Van, Outback Thunda, Virginia Beast tanks, Traxxas RC trucks and upgrade your engine exhaust, intake, suspension and transmission to keep up with the competition.
43 +
44 +DESTRUCTION
45 +Realistic real-time damage and physics make this sim the ultimate Monster Truck game.
46 +</longdescription>
47 +</pkgmetadata>
48
49 diff --git a/games-sports/monstertruckdestruction/monstertruckdestruction-1.ebuild b/games-sports/monstertruckdestruction/monstertruckdestruction-1.ebuild
50 new file mode 100644
51 index 0000000..80789f9
52 --- /dev/null
53 +++ b/games-sports/monstertruckdestruction/monstertruckdestruction-1.ebuild
54 @@ -0,0 +1,81 @@
55 +# Copyright 1999-2018 Gentoo Foundation
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=6
59 +
60 +inherit unpacker eutils gnome2-utils
61 +
62 +DESCRIPTION="Monster Truck Destruction is the best monster truck game! Great physics, real-time destruction and over 60 licensed trucks such as BIGFOOT and USA-1 to race in 28 dirt and snow covered tracks."
63 +HOMEPAGE="https://www.oddgames.com.au/games/monstertruckdestruction"
64 +SRC_URI="monstertruckdestruction_linux.zip"
65 +
66 +LICENSE="all-rights-reserved"
67 +SLOT="0"
68 +KEYWORDS="~amd64"
69 +IUSE="bindist fetch"
70 +
71 +MYGAMEDIR=/opt/${PN}
72 +DEPEND="app-arch/unzip"
73 +RDEPEND="${DEPEND}
74 + dev-libs/expat
75 + media-libs/glu
76 + media-libs/mesa
77 + sys-libs/zlib
78 + x11-libs/libX11
79 + x11-libs/libXau
80 + x11-libs/libXcursor
81 + x11-libs/libXdamage
82 + x11-libs/libXdmcp
83 + x11-libs/libXext
84 + x11-libs/libXfixes
85 + x11-libs/libXrender
86 + x11-libs/libXxf86vm
87 + x11-libs/libdrm
88 + x11-libs/libxcb
89 + x11-libs/libxshmfence
90 +"
91 +
92 +
93 +pkg_nofetch() {
94 + einfo "Please buy & download ${SRC_URI} from:"
95 + einfo " https://www.humblebundle.com/store"
96 + einfo "and move it to ${DISTDIR}"
97 +}
98 +
99 +src_unpack() {
100 + unpack_zip ${A}
101 +}
102 +
103 +src_configure() { :; }
104 +src_compile() { :; }
105 +
106 +src_install() {
107 + arch=x86_64
108 +
109 + insinto ${MYGAMEDIR}
110 + exeinto ${MYGAMEDIR}
111 + newexe "Linux/MTD.${arch}" "${PN}"
112 + doins -r "Linux/MTD_Data"
113 +
114 + newicon -s 128 Linux/MTD_Data/Resources/UnityPlayer.png ${PN}.png
115 + make_wrapper ${PN} "${MYGAMEDIR}/${PN}" "${HOME}"
116 + make_desktop_entry "${PN}" "MTD" "${PN}" "Game"
117 +
118 +
119 + domenu ${PN}
120 +
121 +}
122 +
123 +pkg_preinst() {
124 + gnome2_icon_savelist
125 +}
126 +
127 +pkg_postinst() {
128 + gnome2_icon_cache_update
129 +
130 +}
131 +
132 +pkg_postrm() {
133 + gnome2_icon_cache_update
134 +}
135 +