Unverified Commit 47ea5bd4 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

Merge pull request #319050 from Vinetos/update-kchat

kchat: 2.4.0 -> 3.3.1
parents eb433fa7 1d86418d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -5,12 +5,12 @@

appimageTools.wrapType2 rec {
  pname = "kchat";
  version = "2.4.0";
  version = "3.3.1";

  src = fetchurl {
    url = "https://download.storage5.infomaniak.com/kchat/kchat-desktop-${version}-linux-x86_64.AppImage";
    name = "kchat-${version}.AppImage";
    hash = "sha256-8mkkHod7iBhHVAL/vQCVnmwVlPGikdHhtiEaFVIayrU=";
    hash = "sha256-f9wWgZSPSMP7bLZGfR5F6l/eAVHVhRmF1c7S6/qLgIA=";
  };

  extraInstallCommands =
@@ -24,7 +24,8 @@ appimageTools.wrapType2 rec {
      cp -r ${contents}/usr/* "$out"
      cp "${contents}/kchat-desktop.desktop" "$out/share/applications/"
      mv "$out/bin/kchat" "$out/bin/${meta.mainProgram}" || true
      substituteInPlace $out/share/applications/kchat-desktop.desktop --replace 'Exec=AppRun' 'Exec=${meta.mainProgram}'
      install -m 444 -D ${contents}/kchat-desktop.desktop $out/share/applications/kchat-desktop.desktop
      substituteInPlace $out/share/applications/kchat-desktop.desktop --replace-fail 'Exec=AppRun' 'Exec=${meta.mainProgram}'
    '';

  meta = with lib; {