diff options
author | Christoph Willing <chris.willing@linux.com> | 2020-03-21 13:37:36 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-28 13:20:37 +0700 |
commit | 558819cabacc585eca689297b99ac2311051a31c (patch) | |
tree | 67e556cf7deb5c612b180ce50641849eadb4f983 /games | |
parent | e08c9b0fcb8ea5d076ce3b5389d4747dcada9a3f (diff) |
games/steam: Add desktop file
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/steam/steam.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/games/steam/steam.SlackBuild b/games/steam/steam.SlackBuild index f7a392edf2fc..ea68e62a07f5 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 |