local DEST
if test "$(get_spell_provider $SPELL GECKO)" = "firefox"; then
  DEST=$INSTALL_ROOT/usr/lib/firefox/plugins
elif test "$(get_spell_provider $SPELL GECKO)" = "seamonkey"; then
  DEST=$INSTALL_ROOT/usr/lib/seamonkey/plugins
elif test "$(get_spell_provider $SPELL GECKO)" = "xulrunner"; then
  DEST=$INSTALL_ROOT/usr/lib/xulrunner/plugins
else
  DEST=$INSTALL_ROOT/usr/lib/mozilla/plugins
fi  &&
install  -m 0755  *.so *.xpt  $DEST  &&
install_config_file  mplayerplug-in.conf  /etc/mplayerplug-in.conf    &&
install_config_file  mplayerplug-in.types  /etc/mplayerplug-in.types  &&
make -C po install
