mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #228189 from luxzeitlos/feat-pangeasoft-games-namespace-data-dir
nanosaur,nanosaur2,otto-matic: namespace data dir
This commit is contained in:
commit
bff0944e50
@ -25,8 +25,10 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p "$out/bin"
|
||||
mv Nanosaur Data ReadMe.txt "$out/"
|
||||
makeWrapper $out/Nanosaur $out/bin/Nanosaur --chdir "$out"
|
||||
mkdir -p "$out/share/Nanosaur"
|
||||
mv Data ReadMe.txt "$out/share/Nanosaur/"
|
||||
install -Dm755 {.,$out/bin}/Nanosaur
|
||||
wrapProgram $out/bin/Nanosaur --chdir "$out/share/Nanosaur"
|
||||
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
|
||||
|
@ -25,8 +25,10 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p "$out/bin"
|
||||
mv Nanosaur2 Data ReadMe.txt "$out/"
|
||||
makeWrapper $out/Nanosaur2 $out/bin/Nanosaur2 --chdir "$out"
|
||||
mkdir -p "$out/share/Nanosaur2"
|
||||
mv Data ReadMe.txt "$out/share/Nanosaur2/"
|
||||
install -Dm755 {.,$out/bin}/Nanosaur2
|
||||
wrapProgram $out/bin/Nanosaur2 --chdir "$out/share/Nanosaur2"
|
||||
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
|
||||
|
@ -27,8 +27,10 @@ stdenv.mkDerivation rec {
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/bin"
|
||||
mv OttoMatic Data ReadMe.txt "$out/"
|
||||
makeWrapper $out/OttoMatic $out/bin/OttoMatic --chdir "$out"
|
||||
mkdir -p "$out/share/OttoMatic"
|
||||
mv Data ReadMe.txt "$out/share/OttoMatic/"
|
||||
install -Dm755 {.,$out/bin}/OttoMatic
|
||||
wrapProgram $out/bin/OttoMatic --chdir "$out/share/OttoMatic"
|
||||
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 New Issue
Block a user