libvdpau: use a cleaner installation method

(cherry picked from commit bd2ca1e539c71e83445bb04ccc0e15cb4c80861f)

+1 -7
+1 -7
pkgs/development/libraries/libvdpau/default.nix
··· 14 14 15 15 configureFlags = [ "--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau" ]; 16 16 17 - installFlags = [ "DESTDIR=$(out)" ]; 18 - 19 - postInstall = '' 20 - cp -r $out/${mesa_noglu.driverLink}/* $out 21 - cp -r $out/$out/* $out 22 - rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2) 23 - ''; 17 + installFlags = [ "moduledir=$(out)/lib/vdpau" ]; 24 18 25 19 meta = with stdenv.lib; { 26 20 homepage = http://people.freedesktop.org/~aplattner/vdpau/;