summaryrefslogtreecommitdiffstats
path: root/steamclient
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-12-28 11:09:11 +0000
committer Eric Hameleers <alien@slackware.com>2021-12-28 11:09:11 +0000
commit547b13a944140e5c8ec9e90a0e6870e867ec4503 (patch)
tree27854a75a213bdef8ead67eca9db89e5560e101c /steamclient
parent6f6948bab05d979ae641303f86a150d1c0164321 (diff)
downloadasb-547b13a944140e5c8ec9e90a0e6870e867ec4503.tar.gz
asb-547b13a944140e5c8ec9e90a0e6870e867ec4503.tar.xz
steamclient: some more tweaks to improve the initial experience of the package
Diffstat (limited to 'steamclient')
-rwxr-xr-xsteamclient/build/steamclient.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/steamclient/build/steamclient.SlackBuild b/steamclient/build/steamclient.SlackBuild
index f6c13820..a673df43 100755
--- a/steamclient/build/steamclient.SlackBuild
+++ b/steamclient/build/steamclient.SlackBuild
@@ -196,9 +196,12 @@ ln -sf /usr/lib/steam/bin_steam.sh $PKG/usr/bin/steam
# We don't use apt or dpkg or whatever:
cat << EOT > $PKG/usr/bin/steamdeps
#!/bin/sh
-echo "Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this package and install/upgrade the packages you find there."
-echo "Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multilib' subdirectory instead."
+echo "# ------------------------------------ #"
echo ""
+echo "Slackware 32-bit:\nCheck the directory matching your Slackware version below http://www.slackware.com/~alien/slackbuilds/steamclient/deps/ . Install/upgrade any packages you find there (may be zero)."
+echo "Slackware 64-bit:\nYou need to install multilib (see https://docs.slackware.com/slackware:multilib). Additionally, you need to install/upgrade any packages in the '<slackwareversion>/multilib' subdirectory of http://www.slackware.com/~alien/slackbuilds/steamclient/deps/ instead."
+echo ""
+echo "# ------------------------------------ #"
exit 0
EOT
chmod 755 $PKG/usr/bin/steamdeps
@@ -259,12 +262,14 @@ export STEAM_FRAME_FORCE_CLOSE=1\
# Add any custom variable exports here\
[ -f ${HOME}/.steam4slackware ] \&\& . ${HOME}/.steam4slackware\
# --- End Slackware mod ---' $PKG/usr/lib/steam/bin_steam.sh
-# We need to add a symlink to /sbin/pidof in order to make it be found:
+# We need to add symlinks to /sbin/pidof and /sbin/lcpci
+# in order to make them be found:
sed -i -e '/bin\/bash/{N;s#$#\nexport PATH="/usr/lib/steam/local:$PATH"#}' $PKG/usr/lib/steam/bin_steam.sh
sed -i -e 's/xterm/${TERM}/' $PKG/usr/lib/steam/bin_steam.sh
-# Our 'pidof' workaround:
+# Our 'pidof' and 'lspci' workaround:
mkdir $PKG/usr/lib/steam/local
+ln -sf /sbin/lspci $PKG/usr/lib/steam/local/lspci
ln -sf /sbin/pidof $PKG/usr/lib/steam/local/pidof
# Add this to the doinst.sh: