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-arcade/xrick/
Date: Wed, 25 Apr 2018 18:29:50
Message-Id: 1524680970.f28cc16487d26ea9844e2b0fd3542a3c5682dc87.pacho@gentoo
1 commit: f28cc16487d26ea9844e2b0fd3542a3c5682dc87
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 25 18:06:32 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 25 18:29:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28cc164
7
8 games-arcade/xrick: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-arcade/xrick/xrick-021212-r1.ebuild | 54 -------------------------------
13 1 file changed, 54 deletions(-)
14
15 diff --git a/games-arcade/xrick/xrick-021212-r1.ebuild b/games-arcade/xrick/xrick-021212-r1.ebuild
16 deleted file mode 100644
17 index 4feeada9b79..00000000000
18 --- a/games-arcade/xrick/xrick-021212-r1.ebuild
19 +++ /dev/null
20 @@ -1,54 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -inherit eutils games
26 -
27 -DESCRIPTION="Clone of the Rick Dangerous adventure game from the 80's"
28 -HOMEPAGE="http://www.bigorno.net/xrick/"
29 -SRC_URI="http://www.bigorno.net/xrick/${P}.tgz"
30 -
31 -LICENSE="GPL-1+ xrick"
32 -SLOT="0"
33 -KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
34 -IUSE=""
35 -RESTRICT="mirror bindist" # bug #149097
36 -
37 -DEPEND="media-libs/libsdl[video]"
38 -RDEPEND="${DEPEND}"
39 -
40 -src_unpack() {
41 - unpack ${A}
42 - cd "${S}"
43 - unpack ./xrick.6.gz
44 -}
45 -
46 -src_prepare() {
47 - epatch "${FILESDIR}"/${P}*.patch
48 - sed -i \
49 - -e "/^run from/d" \
50 - -e "/data.zip/ s:the directory where xrick is:$(games_get_libdir)/${PN}.:" \
51 - xrick.6 || die
52 -
53 - sed -i \
54 - -e "s:data.zip:$(games_get_libdir)/${PN}/data.zip:" \
55 - src/xrick.c || die
56 -
57 - sed -i \
58 - -e "s/-g -ansi -pedantic -Wall -W -O2/${CFLAGS}/" \
59 - -e '/LDFLAGS/s/=/+=/' \
60 - -e '/CC=/d' \
61 - -e "/CPP=/ { s/gcc/\$(CC)/; s/\"/'/g }" \
62 - Makefile || die
63 -}
64 -
65 -src_install() {
66 - dogamesbin xrick
67 - insinto "$(games_get_libdir)"/${PN}
68 - doins data.zip
69 - newicon src/xrickST.ico ${PN}.ico
70 - make_desktop_entry ${PN} ${PN} /usr/share/pixmaps/${PN}.ico
71 - dodoc README KeyCodes
72 - doman xrick.6
73 - prepgamesdirs
74 -}