Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/arx-fatalis-demo/
Date: Sun, 14 Oct 2018 23:36:27
Message-Id: 1539560171.2aba3bb1da03af75fd6e0b01a250053704e6d48f.asturm@gentoo
1 commit: 2aba3bb1da03af75fd6e0b01a250053704e6d48f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 14 23:35:23 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 14 23:36:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aba3bb1
7
8 games-rpg/arx-fatalis-demo: Drop old
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 .../arx-fatalis-demo/arx-fatalis-demo-0.ebuild | 53 ----------------------
14 1 file changed, 53 deletions(-)
15
16 diff --git a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild
17 deleted file mode 100644
18 index b3c07e2abd3..00000000000
19 --- a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild
20 +++ /dev/null
21 @@ -1,53 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=4
26 -
27 -inherit eutils games
28 -
29 -DESCRIPTION="Arx Fatalis demo"
30 -HOMEPAGE="https://www.arkane-studios.com/uk/arx.php"
31 -SRC_URI="arx_demo_english.zip"
32 -
33 -LICENSE="ArxFatalisDemo"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86"
36 -IUSE=""
37 -RESTRICT="fetch"
38 -
39 -RDEPEND="games-rpg/arx-libertatis"
40 -DEPEND="app-arch/cabextract
41 - app-arch/unzip"
42 -
43 -S=${WORKDIR}
44 -
45 -pkg_nofetch() {
46 - einfo "Please find and download ${SRC_URI} and put it into ${DISTDIR}."
47 - einfo "There is a list of possible download locations at"
48 - einfo "http://wiki.arx-libertatis.org/Getting_the_game_data#Demo"
49 -}
50 -
51 -src_unpack() {
52 - unpack ${A}
53 - cabextract Setup1.cab || die "cabextract failed"
54 - cabextract Setup2.cab || die "cabextract failed"
55 - cabextract Setup3.cab || die "cabextract failed"
56 -}
57 -
58 -src_install() {
59 - insinto "${GAMES_DATADIR}/${PN}"
60 - doins -r *.pak bin/*.pak
61 - insinto "${GAMES_DATADIR}/${PN}/misc"
62 - doins bin/Logo.bmp bin/Arx.ttf
63 -
64 - # convert to lowercase
65 - cd "${D}"
66 - find . -type f -exec sh -c 'echo "${1}"
67 - lower="`echo "${1}" | tr [:upper:] [:lower:]`"
68 - [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
69 -
70 - make_desktop_entry "arx --data-dir=${GAMES_DATADIR}/arx-fatalis-demo" \
71 - "Arx Fatalis Demo" arx-libertatis
72 -
73 - prepgamesdirs
74 -}