Merge pull request #262720 from yanganto/czkawka-desktop-file

czkawka: add .desktop and icons
This commit is contained in:
0x4A6F 2023-10-23 14:19:24 +02:00 committed by GitHub
commit d4a8b35d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,18 @@ rustPlatform.buildRustPackage rec {
command = "czkawka_cli --version";
};
postInstall = ''
# Install Icons
install -Dm444 -t $out/share/icons/hicolor/scalable/apps data/icons/com.github.qarmin.czkawka.svg
install -Dm444 -t $out/share/icons/hicolor/scalable/apps data/icons/com.github.qarmin.czkawka-symbolic.svg
# Install MetaInfo
install -Dm444 -t $out/share/metainfo data/com.github.qarmin.czkawka.metainfo.xml
# Install Desktop Entry
install -Dm444 -t $out/share/applications data/com.github.qarmin.czkawka.desktop
'';
meta = with lib; {
changelog = "https://github.com/qarmin/czkawka/raw/${version}/Changelog.md";
description = "A simple, fast and easy to use app to remove unnecessary files from your computer";