fcitx5-taigikeyboard-git
LOW
maintainer flyin1501
0 votes
base
taigikeyboard-git
scanned 2026-10-07 20:06:42.279410
Why flagged
Package builds from a legitimate project Git repository, uses standard build流程, and splits components appropriately; the low severity is due to few votes and recent upload, not malicious content.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): Package builds from a legitimate project Git repository, uses standard build流程, and splits components appropriately; the low severity is due to few votes and recent upload, not malicious content.
PKGBUILD
1
# Maintainer: Kisaragi Hiu <mail@kisaragi-hiu.com>
2
3
pkgbase=taigikeyboard-git
4
# split from the original amalgamation that installs all of them all at once
5
# installing an ibus input method should not pull in fcitx5 itself or the
6
# corresponding fcitx5 input method, and vice versa
7
# fonts are not installed, this recommends them from the aur instead
8
pkgname=(fcitx5-taigikeyboard-git ibus-taigikeyboard-git taigikeyboard-common-git)
9
# > To use pkgver(), you still need to declare the pkgver variable with the most
10
# > recent value. makepkg will invoke function pkgver(), and update variable
11
# > pkgver accordingly.
12
pkgver=3.6.10.r918.0b2c45c
13
pkgrel=2
14
arch=('x86_64')
15
url="https://taigikeyboard.tw"
16
license=('Apache-2.0')
17
depends=(
18
'libgcc' 'glibc'
19
'hicolor-icon-theme' # to allow putting our icons in there
20
'glib2' 'gtk4' 'pango' 'libadwaita'
21
)
22
optdepends=(
23
'ttf-jf-openhuninn: font with more support for Taigi'
24
'ttf-iansui-git: font with more support for Taigi'
25
)
26
makedepends=(
27
'make'
28
'cargo'
29
'pkgconf'
30
'protobuf-c'
31
'cmake'
32
'extra-cmake-modules'
33
'fcitx5'
34
)
35
source=(
36
"git+https://github.com/taigikeyboard/taigikeyboard.git"
37
"0001-build-linux-allow-skipping-font-install-or-splitting.patch"
38
)
39
sha512sums=('SKIP'
40
'd4d829e520f880cf8a8be6cb596a4fe9f77bb45f102abfe3b6bc51a93ba071214c5c828d9460ca802059aec7b3e6e188359f747f1b40f9fd55147ee828dfc484')
41
# Unbundling libsqlite3-sys while using LTO for C still leads to errors. Disable
42
# it instead.
43
options=(!lto)
44
45
pkgver() {
46
cd "${pkgbase%-git}"
47
printf "%s" "$(
48
git describe --long --tags --abbrev=7 \
49
--match="desktop-*" |
50
sed 's/^desktop-//; s/\([^-]*-\)g/r\1/; s/-/./g'
51
)"
52
}
53
54
prepare() {
55
cd "${pkgbase%-git}"
56
patch -p1 -i ../0001-build-linux-allow-skipping-font-install-or-splitting.patch
57
}
58
59
build() {
60
# The way some protobuf stuff is included ends up putting references to the
61
# home and $srcdir paths into the executables and shared libraries.
62
# Work around that and fix makepkg's warning about this.
63
RUSTFLAGS="--remap-path-prefix $HOME=~/ $RUSTFLAGS"
64
RUSTFLAGS="--remap-path-prefix ${srcdir}/${pkgbase%-git}=${pkgbase%-git} $RUSTFLAGS"
65
cd "${pkgbase%-git}/linux"
66
make build
67
make component
68
make build-fcitx5
69
}
70
71
# We need to use our own install commands because upstream install them all at
72
# once. That works for RPM or .deb since they install everything then declare
73
# files afterwards, but that's not the case here.
74
package_taigikeyboard-common-git() {
75
pkgdesc='Common files for Taigi Keyboard'
76
optdepends=()
77
provides=("${pkgname%-git}")
78
conflicts=("${pkgname%-git}")
79
cd "${pkgbase%-git}/linux"
80
make DESTDIR="$pkgdir" INSTALL_FONTS=0 install-common
81
}
82
83
package_ibus-taigikeyboard-git() {
84
pkgdesc='Taigi input method for IBus'
85
depends=('ibus' 'taigikeyboard-common')
86
provides=("${pkgname%-git}")
87
conflicts=("${pkgname%-git}")
88
cd "${pkgbase%-git}/linux"
89
make DESTDIR="$pkgdir" install-ibus
90
}
91
92
package_fcitx5-taigikeyboard-git() {
93
pkgdesc='Taigi input method for Fcitx5'
94
depends=('fcitx5' 'taigikeyboard-common')
95
provides=("${pkgname%-git}")
96
conflicts=("${pkgname%-git}")
97
# I don't think it is necessary to list libtaigikeyboard.so in provided=
98
# since fcitx5-rime doesn't do it either
99
cd "${pkgbase%-git}/linux"
100
make DESTDIR="$pkgdir" install-fcitx5
101
}
102
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-07 20:06:42 | Low | 2 |