Merge pull request #38444 from coreyoconnor/add-godot-meta
godot: add application metadata and man page to share
This commit is contained in:
commit
583a85129c
|
@ -42,6 +42,19 @@ in stdenv.mkDerivation rec {
|
|||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp bin/godot.x11.tools.* $out/bin/godot
|
||||
|
||||
mkdir -p "$out/share/applications"
|
||||
cp misc/dist/linux/godot.desktop "$out/share/applications/"
|
||||
substituteInPlace "$out/share/applications/godot.desktop" \
|
||||
--replace "Exec=godot" \
|
||||
"Exec=$out/bin/godot"
|
||||
|
||||
mkdir -p "$out/share/icons/hicolor/scalable/apps/"
|
||||
cp icon.svg "$out/share/icons/hicolor/scalable/apps/godot.svg"
|
||||
cp icon.png "$out/share/icons/godot.png"
|
||||
|
||||
mkdir -p "$out/share/man/man6"
|
||||
cp misc/dist/linux/godot.6 "$out/share/man/man6/"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in New Issue