key2touch-git

LOW
maintainer shorin 0 votes scanned 2026-11-03 12:04:35.126831
View on AUR
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
4pkgname=key2touch-git
5pkgver=r3.g37c35b6
6pkgrel=1
7pkgdesc="Map keyboard keys to touchscreen input on Wayland desktops, made for playing on Waydroid"
8arch=('any')
9url="https://github.com/SHORiN-KiWATA/key2touch"
10license=('GPL-3.0-or-later')
11depends=(
12 'gtk4'
13 'gtk4-layer-shell'
14 'libadwaita'
15 'python'
16 'python-cairo'
17 'python-evdev'
18 'python-gobject'
19)
20makedepends=('git')
21optdepends=('waydroid: run Android games')
22provides=("$_pkgname")
23conflicts=("$_pkgname")
24install=key2touch.install
25options=('!debug')
26source=("$_pkgname::git+${url}.git")
27sha256sums=('SKIP')
28
29pkgver() {
30 cd "$_pkgname"
31 printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
32}
33
34build() {
35 cd "$_pkgname"
36 python -m compileall -q -d /usr/lib/key2touch/key2touch key2touch
37}
38
39package() {
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
50export PYTHONPATH="/usr/lib/key2touch${PYTHONPATH:+:$PYTHONPATH}"
51exec python3 -m key2touch "$@"
52SH
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)SeverityRules
2026-11-03 12:04:35 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion