diff --git a/pkgs/by-name/oc/ocenaudio/package.nix b/pkgs/by-name/oc/ocenaudio/package.nix index 155be35c9229..711ff62fa6ab 100644 --- a/pkgs/by-name/oc/ocenaudio/package.nix +++ b/pkgs/by-name/oc/ocenaudio/package.nix @@ -42,6 +42,12 @@ stdenv.mkDerivation rec { dpkg -x $src $out cp -av $out/opt/ocenaudio/* $out rm -rf $out/opt + mv $out/usr/share $out/share + rm -rf $out/usr + substituteInPlace $out/share/applications/ocenaudio.desktop \ + --replace "/opt/ocenaudio/bin/ocenaudio" "ocenaudio" + mkdir -p $out/share/licenses/ocenaudio + mv $out/bin/ocenaudio_license.txt $out/share/licenses/ocenaudio/LICENSE # Create symlink bzip2 library ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/libbz2.so.1.0