summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-02-09 21:52:35 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-02-09 23:56:07 +0100
commit4d0041749b1ccbfd04793ccfa2ccea178d104f7b (patch)
tree28b20b2ff3c2635bb1b512a502bf30f0fa214819 /games-server/steamcmd/steamcmd-1.0-r4.ebuild
parentgames-server/minecraft-server: drop 1.18.1-r1 (diff)
downloadgentoo-4d0041749b1ccbfd04793ccfa2ccea178d104f7b.tar.gz
gentoo-4d0041749b1ccbfd04793ccfa2ccea178d104f7b.tar.bz2
gentoo-4d0041749b1ccbfd04793ccfa2ccea178d104f7b.zip
games-server/steamcmd: update EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/steamcmd/steamcmd-1.0-r4.ebuild')
-rw-r--r--games-server/steamcmd/steamcmd-1.0-r4.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/games-server/steamcmd/steamcmd-1.0-r4.ebuild b/games-server/steamcmd/steamcmd-1.0-r4.ebuild
new file mode 100644
index 000000000000..1939a11f95a5
--- /dev/null
+++ b/games-server/steamcmd/steamcmd-1.0-r4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1
+
+DESCRIPTION="This is the command-line version of the Steam client for dedicated servers"
+HOMEPAGE="https://developer.valvesoftware.com/wiki/SteamCMD"
+SRC_URI="https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="LGPL-2.1+ Steam"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+
+RDEPEND="
+ acct-group/steamcmd
+ acct-user/steamcmd
+ app-misc/dtach
+"
+
+RESTRICT="bindist mirror"
+
+QA_PREBUILT="
+ opt/steamcmd/linux32/libstdc++.so.6
+ opt/steamcmd/linux32/steamcmd
+"
+
+src_install() {
+ diropts -o steamcmd -g steamcmd
+ dodir /opt/steamcmd
+ keepdir /opt/steamcmd/{.steam,.steam/sdk32,linux32}
+
+ exeopts -o steamcmd -g steamcmd
+ exeinto /opt/steamcmd
+ doexe steamcmd.sh
+
+ exeopts -o steamcmd -g steamcmd
+ exeinto /opt/steamcmd/linux32
+ doexe linux32/steamcmd linux32/libstdc++.so.6
+
+ newinitd "${FILESDIR}"/steamcmd.initd-r2 steamcmd
+ newconfd "${FILESDIR}"/steamcmd.confd-r2 steamcmd
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}