LICENSE="icaclient"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE="nsplugin l10n_de l10n_es l10n_fr l10n_ja l10n_zh_CN"
+IUSE="l10n_de l10n_es l10n_fr l10n_ja l10n_zh_CN"
RESTRICT="mirror strip userpriv fetch"
ICAROOT="/opt/Citrix/ICAClient"
exeinto "${ICAROOT}"/lib
doexe lib/*.so
- if use nsplugin ; then
- exeinto "${ICAROOT}"
- doexe npica.so
- dosym "${ICAROOT}"/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
- fi
-
for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do
insinto "${dest}"
doins nls/en.UTF-8/eula.txt
domenu "${FILESDIR}"/*.desktop
}
-pkg_preinst() {
- local old_plugin="/usr/lib64/nsbrowser/plugins/npwrapper.npica.so"
- if use amd64 && [[ -f ${old_plugin} ]] ; then
- local wrapper="/usr/bin/nspluginwrapper"
- if [[ -x ${wrapper} ]] ; then
- einfo "Removing npica.so from wrapper."
- ${wrapper} -r ${old_plugin}
- fi
- fi
-}
-
pkg_postinst() {
xdg_desktop_database_update
}