diff options
author | Mark Weiman | 2019-03-24 16:06:31 -0400 |
---|---|---|
committer | Mark Weiman | 2019-03-24 16:06:31 -0400 |
commit | 6dbccfd15b08fa695b9d4c1f55db8ced807bf64f (patch) | |
tree | 3d44cecc6935429ee8b04ace5642ab6974f71528 | |
parent | faba09060b899686f242213e9599c46bd62a5cbb (diff) | |
download | aur-6dbccfd15b08fa695b9d4c1f55db8ced807bf64f.tar.gz |
Update to latest-3
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rwxr-xr-x | steamcmd | 23 |
3 files changed, 31 insertions, 13 deletions
@@ -1,18 +1,16 @@ -# Generated by mksrcinfo v8 -# Fri Jun 3 15:58:57 UTC 2016 pkgbase = steamcmd pkgdesc = Steam Command Line Tools pkgver = latest - pkgrel = 2 + pkgrel = 3 url = http://developer.valvesoftware.com/wiki/SteamCMD install = steamcmd.install arch = i686 arch = x86_64 license = custom - source = http://media.steampowered.com/installer/steamcmd_linux.tar.gz + source = https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz source = steamcmd - md5sums = 09e3f75c1ab5a501945c8c8b10c7f50e - md5sums = 698e6f1f8a4b6644136c4294b5b40759 + md5sums = 70a38a1c8688d170c48b7f4990782c7a + md5sums = 5de1fddd114f10ff5d2a8fbeee044a8f depends_x86_64 = lib32-gcc-libs pkgname = steamcmd @@ -2,14 +2,14 @@ pkgname=steamcmd pkgver=latest -pkgrel=2 +pkgrel=3 pkgdesc="Steam Command Line Tools" arch=('i686' 'x86_64') license=('custom') url=http://developer.valvesoftware.com/wiki/SteamCMD -source=(http://media.steampowered.com/installer/steamcmd_linux.tar.gz steamcmd) -md5sums=('09e3f75c1ab5a501945c8c8b10c7f50e' - '698e6f1f8a4b6644136c4294b5b40759') +source=(https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz steamcmd) +md5sums=('70a38a1c8688d170c48b7f4990782c7a' + '5de1fddd114f10ff5d2a8fbeee044a8f') install='steamcmd.install' depends_x86_64=('lib32-gcc-libs') @@ -18,10 +18,11 @@ package() { install -D -m755 "${srcdir}/steamcmd" "${pkgdir}/usr/bin/steamcmd" # in base folder - install -D -m755 "${srcdir}/steam.sh" "${pkgdir}/usr/share/steamcmd/steam.sh" install -D -m755 "${srcdir}/steamcmd.sh" "${pkgdir}/usr/share/steamcmd/steamcmd.sh" # in linux32 folder + install -D -m755 "${srcdir}/linux32/crashhandler.so" "${pkgdir}/usr/share/steamcmd/linux32/crashhandler.so" install -D -m755 "${srcdir}/linux32/libstdc++.so.6" "${pkgdir}/usr/share/steamcmd/linux32/libstdc++.so.6" install -D -m755 "${srcdir}/linux32/steamcmd" "${pkgdir}/usr/share/steamcmd/linux32/steamcmd" + install -D -m755 "${srcdir}/linux32/steamerrorreporter" "${pkgdir}/usr/share/steamcmd/linux32/steamerrorreporter" } @@ -1,5 +1,24 @@ #!/bin/sh +# Copyright (C) 2015 Alexandre Detiste <alexandre@detiste.be> +# License: MIT -# this simply runs steamcmd from /usr/share/steamcmd/ +# create a fake Steam installation to avoid +# that steamcmd uses "/home/$user/Steam" instead +if [ ! -e ~/.steam ] +then + mkdir -p ~/.steam/appcache/ + mkdir -p ~/.steam/config/ + mkdir -p ~/.steam/logs/ + mkdir -p ~/.steam/SteamApps/common/ + ln -s ~/.steam ~/.steam/root + ln -s ~/.steam ~/.steam/steam +fi -exec /usr/share/steamcmd/steamcmd.sh $@ +if [ ! -e ~/.steam/steamcmd ] +then + mkdir -p ~/.steam/steamcmd/linux32 + # steamcmd will replace these files with newer ones itself on first run + cp /usr/share/steamcmd/steamcmd.sh ~/.steam/steamcmd/steamcmd.sh + cp /usr/share/steamcmd/linux32/steamcmd ~/.steam/steamcmd/linux32/steamcmd +fi +exec ~/.steam/steamcmd/steamcmd.sh $@ |