Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/majesty-demo/
Date: Wed, 02 May 2018 19:28:39
Message-Id: 1525289279.ef271ff83bfbbfa450f74c09424ff672615802a0.pacho@gentoo
1 commit: ef271ff83bfbbfa450f74c09424ff672615802a0
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 2 18:29:23 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed May 2 19:27:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef271ff8
7
8 games-strategy/majesty-demo: Stop using games.eclass
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 .../majesty-demo/majesty-demo-1.0.0-r1.ebuild | 43 ++++++++++++++++++++++
13 1 file changed, 43 insertions(+)
14
15 diff --git a/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild b/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild
16 new file mode 100644
17 index 00000000000..7a9bb85b31a
18 --- /dev/null
19 +++ b/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild
20 @@ -0,0 +1,43 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit eutils unpacker
26 +
27 +DESCRIPTION="Control your own kingdom in this simulation"
28 +HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=8&"
29 +SRC_URI="http://ftp2.za.freebsd.org/pub/FreeBSD/ports/distfiles/majesty_demo.run"
30 +
31 +LICENSE="MAJESTY-DEMO"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~x86"
34 +IUSE=""
35 +RESTRICT="bindist strip"
36 +
37 +RDEPEND="
38 + sys-libs/glibc
39 + x11-libs/libX11[abi_x86_32(-)]
40 + x11-libs/libXext[abi_x86_32(-)]
41 + x11-libs/libXau[abi_x86_32(-)]
42 + x11-libs/libXdmcp[abi_x86_32(-)]
43 +"
44 +DEPEND=""
45 +
46 +S="${WORKDIR}"
47 +
48 +dir="/opt/${PN}"
49 +Ddir="${D}/${dir}"
50 +QA_PREBUILT="${dir:1}/maj_demo"
51 +
52 +src_install() {
53 + einstalldocs
54 + insinto "${dir}"
55 + exeinto "${dir}"
56 + doins -r data quests
57 + doins majesty.{bmp,xpm} majestysite.url
58 + newicon majesty.xpm majesty-demo.xpm
59 + # only installing the static version for now
60 + doexe bin/Linux/x86/maj_demo
61 + make_wrapper maj_demo ./maj_demo "${dir}" "${dir}"
62 + make_desktop_entry maj_demo "Majesty (Demo)"
63 +}