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

godot_4: add installPhase hooks
This commit is contained in:
superherointj
2024-05-17 10:57:20 -03:00
committed by GitHub
@@ -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 = {