yquake2: move icon to spec-compliant location

This commit is contained in:
Piotr Kwiecinski
2026-02-21 13:12:39 +01:00
parent 27e297b7b3
commit 54be2f6470
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ let
ln -s $out/lib/yquake2/quake2 $out/bin/yquake2
ln -s $out/lib/yquake2/q2ded $out/bin/yq2ded
cp $src/stuff/yq2.cfg $out/share/games/quake2/baseq2
install -Dm644 stuff/icon/Quake2.png $out/share/pixmaps/yamagi-quake2.png;
install -Dm644 stuff/icon/Quake2.png $out/share/icons/hicolor/512x512/apps/yamagi-quake2.png;
runHook postInstall
'';
+1 -1
View File
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
--add-flags "+set game ${game.id}"
'') games
+ ''
install -Dm644 ${yquake2}/share/pixmaps/yamagi-quake2.png $out/share/pixmaps/yamagi-quake2.png;
install -Dm644 ${yquake2}/share/icons/hicolor/512x512/apps/yamagi-quake2.png $out/share/icons/hicolor/512x512/apps/yamagi-quake2.png;
runHook postInstall
'';