forked from mirrors/nixpkgs
bugdom,nanosaur,nanosaur2,otto-matic: add desktop files (#215525)
This commit is contained in:
parent
7a45340990
commit
a7b0ff0a0d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue