From 558819cabacc585eca689297b99ac2311051a31c Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Sat, 21 Mar 2020 13:37:36 +1000 Subject: games/steam: Add desktop file Signed-off-by: Christoph Willing Signed-off-by: Willy Sudiarto Raharjo --- games/steam/steam.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/games/steam/steam.SlackBuild b/games/steam/steam.SlackBuild index f7a392edf2..ea68e62a07 100644 --- a/games/steam/steam.SlackBuild +++ b/games/steam/steam.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2016 Talos Thoren # All rights reserved. -# Copyright 2019 Christoph Willing, Brisbane, Australia +# Copyright 2019,20 Christoph Willing, Brisbane, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ PRGNAM=steam VERSION=${VERSION:-1.0.0.61} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -86,6 +86,9 @@ mkdir -p $PKG/lib/udev/rules.d install -p -m 0644 lib/udev/rules.d/*.rules $PKG/lib/udev/rules.d/ sed -i -e 's/^KERNEL=="uinput".*/& GROUP="plugdev"/' $PKG/lib/udev/rules.d/60-steam-input.rules +mkdir -p $PKG/usr/share/applications +install -m 0644 steam.desktop $PKG/usr/share/applications/ + # alienBOB's trick for unfound system apps sed -i -e '\/usr\/bin\/env\ bash/{N;s#$#\nexport PATH="/usr/lib/steam/local:$PATH"\n#}' $PKG/usr/bin/steam mkdir -p $PKG/usr/lib/steam/local -- cgit v1.2.3