godot_4: Add installPhase hooks

This commit is contained in:
Tracteur Blindé 2024-05-16 19:20:07 -07:00
parent baf54cdc1d
commit 465257bcb2

View File

@ -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 = {