Unverified Commit c2ea18b5 authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #312337 from tracteurblinde/godot_4-install-hooks

godot_4: add installPhase hooks
parents 7b190567 465257bc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -132,6 +132,8 @@ stdenv.mkDerivation rec {
  outputs = [ "out" "man" ];

  installPhase = ''
    runHook preInstall

    mkdir -p "$out/bin"
    cp bin/godot.* $out/bin/godot4

@@ -144,6 +146,8 @@ stdenv.mkDerivation rec {
      --replace "Godot Engine" "Godot Engine 4"
    cp icon.svg "$out/share/icons/hicolor/scalable/apps/godot.svg"
    cp icon.png "$out/share/icons/godot.png"

    runHook postInstall
  '';

  meta = {