0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/fcitx5-gtk-common/fcitx5-gtk3.subpackage.sh
MURAMATSU Atsushi 041a9666ea add fcitx5-gtk*
2023-07-05 19:02:03 +09:00

17 lines
541 B
Bash

TERMUX_SUBPKG_DESCRIPTION="fcitx5 gtk3 immodule"
TERMUX_SUBPKG_INCLUDE="lib/gtk-3.0"
TERMUX_SUBPKG_DEPENDS="fcitx5, gdk-pixbuf, gtk3, libc++, libcairo, libx11, libxkbcommon, pango"
termux_step_create_subpkg_debscripts() {
cat <<- EOF > ./postinst
#!$TERMUX_PREFIX/bin/sh
"$TERMUX_PREFIX/bin/gtk-query-immodules-3.0" \
> "$TERMUX_PREFIX/lib/gtk-3.0/3.0.0/immodules.cache"
EOF
cat <<- EOF > ./postrm
#!$TERMUX_PREFIX/bin/sh
"$TERMUX_PREFIX/bin/gtk-query-immodules-3.0" \
> "$TERMUX_PREFIX/lib/gtk-3.0/3.0.0/immodules.cache"
EOF
}