Gentoo Archives: gentoo-commits

From: "Denis Dupeyron (calchan)" <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-rpg/sacred-gold: metadata.xml ChangeLog sacred-gold-1.0.ebuild
Date: Wed, 29 Jul 2009 04:53:26
Message-Id: E1MW1AJ-0004gV-O3@stork.gentoo.org
1 calchan 09/07/29 04:53:23
2
3 Added: metadata.xml ChangeLog sacred-gold-1.0.ebuild
4 Log:
5 Initial commit. Enjoy.
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 games-rpg/sacred-gold/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/sacred-gold/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/sacred-gold/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <maintainer>
20 <email>calchan@g.o</email>
21 <name>Denis Dupeyron</name>
22 </maintainer>
23 </pkgmetadata>
24
25
26
27 1.1 games-rpg/sacred-gold/ChangeLog
28
29 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/sacred-gold/ChangeLog?rev=1.1&view=markup
30 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/sacred-gold/ChangeLog?rev=1.1&content-type=text/plain
31
32 Index: ChangeLog
33 ===================================================================
34 # ChangeLog for games-rpg/sacred-gold
35 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
36 # $Header: /var/cvsroot/gentoo-x86/games-rpg/sacred-gold/ChangeLog,v 1.1 2009/07/29 04:53:23 calchan Exp $
37
38 *sacred-gold-1.0 (29 Jul 2009)
39
40 29 Jul 2009; Denis Dupeyron <calchan@g.o> +sacred-gold-1.0.ebuild:
41 Initial commit. Enjoy.
42
43
44
45
46 1.1 games-rpg/sacred-gold/sacred-gold-1.0.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/sacred-gold/sacred-gold-1.0.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/sacred-gold/sacred-gold-1.0.ebuild?rev=1.1&content-type=text/plain
50
51 Index: sacred-gold-1.0.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/games-rpg/sacred-gold/sacred-gold-1.0.ebuild,v 1.1 2009/07/29 04:53:23 calchan Exp $
56
57 inherit eutils games
58
59 DESCRIPTION="Action role-playing game"
60 HOMEPAGE="http://linuxgamepublishing.com/info.php?id=sacred"
61 SRC_URI=""
62
63 LICENSE="as-is GPL-2 LGPL-2"
64 SLOT="0"
65 KEYWORDS="-* ~amd64 ~x86"
66 IUSE=""
67 RESTRICT="strip"
68
69 RDEPEND="virtual/opengl
70 x86? ( x11-libs/libX11
71 x11-libs/libXext
72 x11-libs/libXi )
73 amd64? ( app-emulation/emul-linux-x86-xlibs )"
74 DEPEND=""
75
76 S=${WORKDIR}
77
78 src_unpack() {
79 cdrom_get_cds .data/bin/Linux/x86/sacred
80 ln -sfn "${CDROM_ROOT}"/.data cd
81 unpack ./cd/data/data.tar.gz
82 rm -f cd
83 mv lib/lib{1,2}/* lib
84 rmdir lib/lib{1,2}
85 cp -f "${CDROM_ROOT}"/.data/bin/Linux/x86/sacred* . || die
86 cp -f "${CDROM_ROOT}"/README* . || die
87 cp -f "${CDROM_ROOT}"/manual.pdf . || die
88 }
89
90 src_install() {
91 dir=${GAMES_PREFIX_OPT}/${PN}
92
93 insinto "${dir}"
94 mv * "${D}/${dir}" || die
95
96 games_make_wrapper ${PN} ./sacred "${dir}" "${dir}"/lib
97 newicon "${CDROM_ROOT}"/.data/icon.xpm ${PN}.xpm || die
98 make_desktop_entry ${PN} "Sacred - Gold" ${PN}
99
100 prepgamesdirs
101 }