masterpdfeditor4: move icon to spec-compliant location (#485763)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user