1 |
commit: 82e4fa7d45a457b08ef29ad544d509c8a33b86bd |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 13 23:19:08 2017 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 27 21:41:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e4fa7d |
7 |
|
8 |
games-action/descent1-demodata: EAPI bump, cleanups, drop dead mirror |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
.../descent1-demodata-1.4-r1.ebuild | 46 ++++++++++++++++++++++ |
13 |
1 file changed, 46 insertions(+) |
14 |
|
15 |
diff --git a/games-action/descent1-demodata/descent1-demodata-1.4-r1.ebuild b/games-action/descent1-demodata/descent1-demodata-1.4-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..8a61ba5c297 |
18 |
--- /dev/null |
19 |
+++ b/games-action/descent1-demodata/descent1-demodata-1.4-r1.ebuild |
20 |
@@ -0,0 +1,46 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit unpacker |
27 |
+ |
28 |
+DEMO="desc${PV//.}sw.exe" |
29 |
+ |
30 |
+DESCRIPTION="Demo data files for Descent 1" |
31 |
+HOMEPAGE="http://www.interplay.com/games/descent.php" |
32 |
+SRC_URI="http://icculus.org/d2x/data/${DEMO} |
33 |
+ ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO}" |
34 |
+LICENSE="free-noncomm" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+ |
38 |
+RDEPEND="!games-action/descent1-data" |
39 |
+ |
40 |
+DEPEND="app-arch/unzip |
41 |
+ app-arch/unarj" |
42 |
+ |
43 |
+S="${WORKDIR}" |
44 |
+ |
45 |
+src_unpack() { |
46 |
+ unpack_zip ${A} |
47 |
+ |
48 |
+ unarj e DESCENT1.SOW || die |
49 |
+ mv descent.pig{,1} || die |
50 |
+ unarj e DESCENT2.SOW || die |
51 |
+ mv descent.pig{,2} || die |
52 |
+ |
53 |
+ # From the sows, big porkie pies shall grow |
54 |
+ cat descent.pig{1,2} > descent.pig || die |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ insinto /usr/share/games/d1x |
59 |
+ doins descent.{hog,pig} |
60 |
+ dodoc *.txt |
61 |
+} |
62 |
+ |
63 |
+pkg_postinst() { |
64 |
+ elog "A client is needed to run the game, e.g. games-action/dxx-rebirth." |
65 |
+ echo |
66 |
+} |