Unverified Commit 319373ef authored by dish's avatar dish Committed by GitHub
Browse files

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

parents 72e4cb37 63598dd1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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