blob: db9602a0d708e84ece262d3489f62277e09feecd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# Maintainer: Sam L. Yes <samlukeyes123@gmail.com>
# Maintainer: star2000 <i@star2000.work>
# Contributor: Stefano Capitani <stefanoatmanjarodororg>
pkgbase=manjaro-asian-input-support
pkgname=('ibus-input-support' 'fcitx-input-support' 'fcitx5-input-support')
pkgver=2020.09
pkgrel=1
arch=('any')
url="https://gitlab.manjaro.org/packages/community/manjaro-asian-input-support"
license=('GPL')
pkgdesc='Asian input support from Manjaro'
source=(
'enable-fcitx.sh'
'enable-ibus.sh'
'enable-fcitx5.sh'
'fcitx5.desktop'
'fcitx5.profile'
'ibus.desktop'
)
md5sums=('42db8df96db00e8fcc023b7bc9135b21'
'1a68e770b9f426301b6a08fe8edb47f1'
'76683bfe0294238b08cd7c67b0806fd9'
'97a5be2b8ff8c0fc895d9ef21531e698'
'3578677a7102c9f8be3b9f7ea7d3d06f'
'f1a9f3406f8268383149889f4816cd52')
install=input-support.install
conflicts=(
"${pkgbase}-ibus"
"${pkgbase}-fcitx"
"${pkgbase}-fcitx5"
)
package_ibus-input-support() {
pkgdesc='Asian input support for ibus'
optdepends=(
'ibus-libpinyin: 中文 | Chinese'
'ibus-anthy: 日本語 | Japanese'
'ibus-hangul: 한국어 | Korean'
'ibus-unikey: Tiếng Việt | Vietnamese'
'ibus-m17n: other languages provided by M17n(http://www.nongnu.org/m17n/)'
)
provides=("${pkgbase}-ibus")
install -Dm644 "$srcdir/enable-ibus.sh" "$pkgdir/etc/profile.d/input-support.sh"
install -Dm644 "$srcdir/ibus.desktop" "$pkgdir/etc/xdg/autostart/ibus.desktop"
}
package_fcitx-input-support() {
pkgdesc='Asian input support for fcitx'
depends=(
'fcitx-qt5' # QT input module
'fcitx-configtool' # gui configuration tool
)
optdepends=(
#'fcitx-qt4: required by some closed source Chinese IMEs'
'kcm-fcitx: KDE configuration module'
'fcitx-googlepinyin: 中文 | Chinese'
'fcitx-cloudpinyin: 云拼音 | Use internet resources to provide candidate input for Chinese'
'fcitx-mozc: 日本語 | Japanese'
'fcitx-hangul: 한국어 | Korean'
'fcitx-unikey: Tiếng Việt | Vietnamese'
'fcitx-sayura: සිංහල | Sinhalese'
'fcitx-m17n: other languages provided by M17n(http://www.nongnu.org/m17n/)'
)
provides=("${pkgbase}-fcitx")
install -Dm644 "$srcdir/enable-fcitx.sh" "$pkgdir/etc/profile.d/input-support.sh"
}
package_fcitx5-input-support() {
pkgdesc='Asian input support for fcitx5'
depends=(
'fcitx5-qt' # QT input module
'fcitx5-gtk' # GTK input module
)
optdepends=(
'kcm-fcitx5: KDE configuration module'
'fcitx5-chinese-addons: 简体中文 | Simplified Chinese'
'fcitx5-rime: 繁體中文 | Traditional Chinese'
'fcitx5-anthy: 日本語 | Japanese'
'fcitx5-hangul: 한국어 | Korean'
'fcitx5-unikey: Tiếng Việt | Vietnamese'
)
provides=("${pkgbase}-fcitx5")
install -Dm644 "$srcdir/enable-fcitx5.sh" "$pkgdir/etc/profile.d/input-support.sh"
install -Dm644 "$srcdir/fcitx5.desktop" "$pkgdir/etc/xdg/autostart/fcitx5.desktop"
install -Dm644 "$srcdir/fcitx5.profile" "$pkgdir/etc/xdg/fcitx5/profile"
}
|