bugdom,nanosaur,nanosaur2,otto-matic: add desktop files (#215525)

This commit is contained in:
Lukas Kohler 2023-04-25 21:09:54 +02:00 committed by GitHub
parent 7a45340990
commit a7b0ff0a0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 1 deletions

View file

@ -51,6 +51,8 @@ stdenv.mkDerivation rec {
mv Data $out/share/bugdom
install -Dm755 {.,$out/bin}/Bugdom
wrapProgram $out/bin/Bugdom --run "cd $out/share/bugdom"
install -Dm644 $src/packaging/bugdom.desktop $out/share/applications/bugdom.desktop
install -Dm644 $src/packaging/bugdom-desktopicon.png $out/share/pixmaps/bugdom-desktopicon.png
'') + ''
runHook postInstall

View file

@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin"
mv Nanosaur Data ReadMe.txt "$out/"
makeWrapper $out/Nanosaur $out/bin/Nanosaur --chdir "$out"
install -Dm644 $src/packaging/nanosaur.desktop $out/share/applications/nanosaur.desktop
install -Dm644 $src/packaging/nanosaur-desktopicon.png $out/share/pixmaps/nanosaur-desktopicon.png
runHook postInstall
'';

View file

@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin"
mv Nanosaur2 Data ReadMe.txt "$out/"
makeWrapper $out/Nanosaur2 $out/bin/Nanosaur2 --chdir "$out"
install -Dm644 $src/packaging/nanosaur2.desktop $out/share/applications/nanosaur2.desktop
install -Dm644 $src/packaging/nanosaur2-desktopicon.png $out/share/pixmaps/nanosaur2-desktopicon.png
runHook postInstall
'';

View file

@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin"
mv OttoMatic Data ReadMe.txt "$out/"
makeWrapper $out/OttoMatic $out/bin/OttoMatic --chdir "$out"
install -Dm644 $src/packaging/io.jor.ottomatic.desktop $out/share/applications/io.jor.ottomatic.desktop
install -Dm644 $src/packaging/io.jor.ottomatic.png $out/share/pixmaps/io.jor.ottomatic.png
runHook postInstall
'';