masterpdfeditor4: move icon to spec-compliant location (#485763)

This commit is contained in:
dish
2026-02-13 19:33:44 +00:00
committed by GitHub
@@ -39,9 +39,9 @@ stdenv.mkDerivation rec {
substituteInPlace masterpdfeditor4.desktop \
--replace 'Exec=/opt/master-pdf-editor-4' "Exec=$out/bin" \
--replace 'Path=/opt/master-pdf-editor-4' "Path=$out/bin" \
--replace 'Icon=/opt/master-pdf-editor-4' "Icon=$out/share/pixmaps"
--replace 'Icon=/opt/master-pdf-editor-4' "Icon=masterpdfeditor4"
install -Dm644 -t $out/share/pixmaps masterpdfeditor4.png
install -Dm644 -t $out/share/icons/hicolor/128x128/apps masterpdfeditor4.png
install -Dm644 -t $out/share/applications masterpdfeditor4.desktop
install -Dm755 -t $app_dir masterpdfeditor4
install -Dm644 license.txt $out/share/$name/LICENSE