refactor(pkgs/runescape): simplify packaging commands

This commit is contained in:
Gabriel Fontes
2026-07-16 10:18:52 -03:00
parent 871ed6f107
commit 13cb7350a4
+2 -6
View File
@@ -52,8 +52,7 @@
installPhase = ''
runHook preInstall
install -Dm755 usr/share/games/runescape-launcher/runescape \
$out/libexec/runescape
install -Dm755 usr/share/games/runescape-launcher/runescape $out/libexec/runescape
mkdir -p $out/share
cp -r usr/share/icons $out/share/icons
@@ -109,10 +108,7 @@ in
runScript = "runescape";
extraInstallCommands = ''
mkdir -p $out/share/applications
ln -s ${client}/share/applications/runescape.desktop \
$out/share/applications/runescape.desktop
ln -s ${client}/share/icons $out/share/icons
ln -s ${client}/share -T $out/share
'';
meta = {