nixpkgs/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh

13 lines
252 B
Bash
Raw Normal View History

source $stdenv/setup
dontStrip=1
dontPatchELF=1
installPhase() {
ensureDir $out/lib/mozilla/plugins
cp -p libflashplayer.so $out/lib/mozilla/plugins
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
}
genericBuild