Merge pull request #284098 from Stunkymonkey/armagetronad-desktop-icon

This commit is contained in:
Franz Pletz 2024-01-30 00:43:31 +01:00 committed by GitHub
commit 1000d29be1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,6 +129,12 @@ let
nativeBuildInputs = [ autoconf automake gnum4 pkg-config which python3 ]
++ extraNativeBuildInputs;
postInstall = lib.optionalString (!dedicatedServer) ''
mkdir -p $out/share/{applications,icons/hicolor}
ln -s $out/share/games/armagetronad/desktop/armagetronad*.desktop $out/share/applications/
ln -s $out/share/games/armagetronad/desktop/icons $out/share/icons/hicolor
'';
doInstallCheck = true;
installCheckPhase = ''