1 |
commit: 65e97d50c64739b88b9c765c1356f3f3e92907e1 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 26 21:53:23 2017 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 27 19:44:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e97d50 |
7 |
|
8 |
games-action/phobiaii: remove deprecated games eclass |
9 |
|
10 |
Also update to EAPI 6 |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/574082 |
13 |
|
14 |
Package-Manager: Portage-2.3.2, Repoman-2.3.1 |
15 |
|
16 |
games-action/phobiaii/phobiaii-1.1-r1.ebuild | 37 ++++++++++++++++++++++++++++ |
17 |
1 file changed, 37 insertions(+) |
18 |
|
19 |
diff --git a/games-action/phobiaii/phobiaii-1.1-r1.ebuild b/games-action/phobiaii/phobiaii-1.1-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000..993046d |
22 |
--- /dev/null |
23 |
+++ b/games-action/phobiaii/phobiaii-1.1-r1.ebuild |
24 |
@@ -0,0 +1,37 @@ |
25 |
+# Copyright 1999-2017 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=6 |
30 |
+inherit eutils |
31 |
+ |
32 |
+MY_P="linuxphobia-${PV}" |
33 |
+DESCRIPTION="Just a moment ago, you were safe inside your ship, behind five inch armour" |
34 |
+HOMEPAGE="http://www.lynxlabs.com/games/linuxphobia/index.html" |
35 |
+SRC_URI="http://www.lynxlabs.com/games/linuxphobia/${MY_P}-i386.tar.bz2" |
36 |
+ |
37 |
+LICENSE="freedist" #505612 |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ media-libs/libsdl[abi_x86_32(-)] |
44 |
+ media-libs/sdl-mixer[abi_x86_32(-)] |
45 |
+ sys-libs/lib-compat" |
46 |
+ |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+QA_PRESTRIPPED="opt/phobiaii/linuxphobia" |
50 |
+QA_FLAGS_IGNORED="opt/phobiaii/linuxphobia" |
51 |
+ |
52 |
+src_install() { |
53 |
+ local dir=/opt/${PN} |
54 |
+ make_wrapper phobiaII ./linuxphobia "${dir}" |
55 |
+ newicon phobia2.ico ${PN}.ico |
56 |
+ make_desktop_entry phobiaII "Phobia II" /usr/share/pixmaps/${PN}.ico |
57 |
+ insinto "${dir}" |
58 |
+ doins -r * |
59 |
+ rm -rf "${D}/${dir}"/{*.desktop,*.sh,/pics/.xvpics} |
60 |
+ fperms 775 "${dir}"/linuxphobia |
61 |
+} |