1 |
commit: 56d51e98becd2c7260a91d63ea738d4a0d65dd03 |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Tue Sep 17 18:12:37 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 12 09:09:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d51e98 |
7 |
|
8 |
games-server/steamcmd: drop user eclass |
9 |
|
10 |
Dropped user eclass in favour of acct-* packages. |
11 |
|
12 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
13 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/12956 |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
games-server/steamcmd/steamcmd-1.0-r2.ebuild | 52 ++++++++++++++++++++++++++++ |
18 |
1 file changed, 52 insertions(+) |
19 |
|
20 |
diff --git a/games-server/steamcmd/steamcmd-1.0-r2.ebuild b/games-server/steamcmd/steamcmd-1.0-r2.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..3b5b4280539 |
23 |
--- /dev/null |
24 |
+++ b/games-server/steamcmd/steamcmd-1.0-r2.ebuild |
25 |
@@ -0,0 +1,52 @@ |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=7 |
30 |
+ |
31 |
+inherit readme.gentoo-r1 user |
32 |
+ |
33 |
+DESCRIPTION="This is the command-line version of the Steam client for dedicated servers" |
34 |
+HOMEPAGE="https://developer.valvesoftware.com/wiki/SteamCMD" |
35 |
+SRC_URI="https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="LGPL-2.1+ Steam" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="-* ~amd64 ~x86" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ acct-group/steamcmd |
43 |
+ acct-user/steamcmd |
44 |
+ app-misc/screen |
45 |
+" |
46 |
+ |
47 |
+RESTRICT="bindist mirror" |
48 |
+ |
49 |
+S="${WORKDIR}" |
50 |
+ |
51 |
+QA_PREBUILT=" |
52 |
+ opt/steamcmd/linux32/libstdc++.so.6 |
53 |
+ opt/steamcmd/linux32/steamcmd |
54 |
+" |
55 |
+ |
56 |
+src_install() { |
57 |
+ diropts -o steamcmd -g steamcmd |
58 |
+ dodir /opt/steamcmd |
59 |
+ keepdir /opt/steamcmd/{.steam,.steam/sdk32,linux32} |
60 |
+ |
61 |
+ exeopts -o steamcmd -g steamcmd |
62 |
+ exeinto /opt/steamcmd |
63 |
+ doexe steamcmd.sh |
64 |
+ |
65 |
+ exeopts -o steamcmd -g steamcmd |
66 |
+ exeinto /opt/steamcmd/linux32 |
67 |
+ doexe linux32/steamcmd linux32/libstdc++.so.6 |
68 |
+ |
69 |
+ newinitd "${FILESDIR}"/steamcmd.initd-r1 steamcmd |
70 |
+ newconfd "${FILESDIR}"/steamcmd.confd-r1 steamcmd |
71 |
+ |
72 |
+ readme.gentoo_create_doc |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ readme.gentoo_print_elog |
77 |
+} |