googleearth-pro: Avoid dragging in stdenv

I noticed that my system closure contained duplicate of various
packages, and traced it back to `googleearth-pro`. It included a
`env-vars` file created by `stdenv` which pulled in lots of build tools,
and it seems it was copied in `installPhase` by accident.
By only copying the directories from the upstream package, the number of paths
in the closure is reduced noticably:

```diff
~/build/nixpkgs $ diff -u <(nix-store --query -R result-before|wc -l) <(nix-store --query -R result|wc -l)
--- /dev/fd/63 2023-04-23 14:31:22.653577750 +0200
+++ /dev/fd/62 2023-04-23 14:31:22.654577714 +0200
@@ -1 +1 @@
-396
+256
$ du -sch $(nix-store -qR result-before) | grep total
1.5G total
$ du -sch $(nix-store -qR result) | grep total
894M total
```

authored by

Joachim Breitner and committed by
Artturin
dc97d2c2 9971ea96

+5 -4
+5 -4
pkgs/applications/misc/googleearth-pro/default.nix
··· 71 71 72 72 unpackPhase = '' 73 73 # deb file contains a setuid binary, so 'dpkg -x' doesn't work here 74 - dpkg --fsys-tarfile ${src} | tar --extract 74 + mkdir deb 75 + dpkg --fsys-tarfile ${src} | tar --extract -C deb 75 76 ''; 76 77 77 78 installPhase ='' 78 79 runHook preInstall 79 80 80 81 mkdir $out 81 - mv usr/* $out/ 82 - rmdir usr 83 - mv * $out/ 82 + mv deb/usr/* $out/ 83 + rmdir deb/usr 84 + mv deb/* $out/ 84 85 rm $out/bin/google-earth-pro $out/opt/google/earth/pro/googleearth 85 86 86 87 # patch and link googleearth binary