key2touch-git
LOW
maintainer shorin
0 votes
scanned 2026-11-03 12:04:35.126831
Why flagged
The package builds from a public Git repository with no unverifiable binaries; the low severity is due to few votes and recent upload, but the source is transparent and the build process is standard.
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%): The package builds from a public Git repository with no unverifiable binaries; the low severity is due to few votes and recent upload, but the source is transparent and the build process is standard.
PKGBUILD
1
# Maintainer: Shorin <2433516202@qq.com>
2
3
_pkgname=key2touch
4
pkgname=key2touch-git
5
pkgver=r3.g37c35b6
6
pkgrel=1
7
pkgdesc="Map keyboard keys to touchscreen input on Wayland desktops, made for playing on Waydroid"
8
arch=('any')
9
url="https://github.com/SHORiN-KiWATA/key2touch"
10
license=('GPL-3.0-or-later')
11
depends=(
12
'gtk4'
13
'gtk4-layer-shell'
14
'libadwaita'
15
'python'
16
'python-cairo'
17
'python-evdev'
18
'python-gobject'
19
)
20
makedepends=('git')
21
optdepends=('waydroid: run Android games')
22
provides=("$_pkgname")
23
conflicts=("$_pkgname")
24
install=key2touch.install
25
options=('!debug')
26
source=("$_pkgname::git+${url}.git")
27
sha256sums=('SKIP')
28
29
pkgver() {
30
cd "$_pkgname"
31
printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
32
}
33
34
build() {
35
cd "$_pkgname"
36
python -m compileall -q -d /usr/lib/key2touch/key2touch key2touch
37
}
38
39
package() {
40
cd "$_pkgname"
41
local appid=io.github.shorin_kiwata.key2touch
42
43
install -dm755 "$pkgdir/usr/lib/key2touch"
44
cp -r --no-preserve=ownership key2touch "$pkgdir/usr/lib/key2touch/"
45
install -Dm644 "data/$appid.svg" "$pkgdir/usr/lib/key2touch/data/$appid.svg"
46
47
install -dm755 "$pkgdir/usr/bin"
48
cat > "$pkgdir/usr/bin/key2touch" <<'SH'
49
#!/bin/sh
50
export PYTHONPATH="/usr/lib/key2touch${PYTHONPATH:+:$PYTHONPATH}"
51
exec python3 -m key2touch "$@"
52
SH
53
chmod 755 "$pkgdir/usr/bin/key2touch"
54
55
install -Dm644 "data/$appid.desktop" "$pkgdir/usr/share/applications/$appid.desktop"
56
install -Dm644 "data/$appid.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$appid.svg"
57
install -Dm644 data/60-key2touch-uinput.rules "$pkgdir/usr/lib/udev/rules.d/60-key2touch-uinput.rules"
58
install -Dm644 data/key2touch-uinput.conf "$pkgdir/usr/lib/modules-load.d/key2touch-uinput.conf"
59
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
60
}
61
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 12:04:35 | Low | 2 |