godot_4: Add installPhase hooks
This commit is contained in:
parent
baf54cdc1d
commit
465257bcb2
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user