linux-3-finger-drag-git

LOW
maintainer Aetf 0 votes scanned 2026-08-21 01:13:51.509442
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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.

PKGBUILD

1# Maintainer: Aetf <aetf at unlimited-code dot works>
2pkgname=linux-3-finger-drag-git
3_pkgname=linux-3-finger-drag
4pkgver=1.7.0.r12.gae22def
5pkgrel=1
6pkgdesc="Three-finger drag gestures for touchpads, as found on macOS"
7arch=('x86_64' 'aarch64')
8url="https://github.com/lmr97/linux-3-finger-drag"
9license=('MIT')
10depends=('glibc' 'libgcc')
11makedepends=('cargo' 'git')
12provides=("$_pkgname=$pkgver")
13conflicts=("$_pkgname")
14backup=("etc/$_pkgname/3fd-config.json")
15install="$pkgname.install"
16source=("$_pkgname::git+$url.git"
17 '80-linux-3-finger-drag.rules'
18 'three-finger-drag.service'
19 'uinput.conf')
20b2sums=('SKIP'
21 '988418e1f14c59ae56ebfddd9c2830fe1afd38b03fc649852516465a713bd6a76d647516260d63b2815d8619c5e7b53930bd7afcea944635eb7026d424d3471d'
22 'f9d454942f083a589fb7f588159f86ec6debb16f3135cf6e573e9b5d6b4fb90a1dba571c25193f5527664d3a48732056ebb18c829548354db605060f50721225'
23 '6447424a864f4c54320eabc7948c34601f51084ad3d3889ab7cf13a50bff79d79284d9cc25413d2bbb868cca3394dc80dffcdd4cf006c519099a96dcf2196045')
24
25pkgver() {
26 cd "$_pkgname"
27
28 git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
29}
30
31prepare() {
32 cd "$_pkgname"
33
34 export RUSTUP_TOOLCHAIN=stable
35 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
36}
37
38build() {
39 cd "$_pkgname"
40
41 export RUSTUP_TOOLCHAIN=stable
42 export CARGO_TARGET_DIR=target
43
44 cargo build --frozen --release --all-features
45}
46
47check() {
48 cd "$_pkgname"
49
50 export RUSTUP_TOOLCHAIN=stable
51
52 # The integration suite drives real uinput devices and is #[ignore]d
53 # upstream, so this runs the pure gesture-machine tests only.
54 cargo test --frozen --all-features
55}
56
57package() {
58 cd "$_pkgname"
59
60 install -Dm0755 "target/release/$_pkgname" -t "$pkgdir/usr/bin"
61
62 # A system unit, not upstream's user unit -- see the file for why.
63 install -Dm0644 "$srcdir/three-finger-drag.service" -t "$pkgdir/usr/lib/systemd/system"
64 install -Dm0644 3fd-config.json -t "$pkgdir/etc/$_pkgname"
65
66 # Not upstream's 60-uinput.rules: that one grants the logged-in user access,
67 # which this packaging deliberately does not rely on. See the file for why.
68 install -Dm0644 "$srcdir/80-$_pkgname.rules" -t "$pkgdir/usr/lib/udev/rules.d"
69
70 # Guarantees the module is up, so the rule also lands on the real device node.
71 install -Dm0644 "$srcdir/uinput.conf" "$pkgdir/usr/lib/modules-load.d/$_pkgname.conf"
72
73 install -Dm0644 README.md CHANGELOG.md -t "$pkgdir/usr/share/doc/$_pkgname"
74 install -Dm0644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
75}
76
77# vim:set ts=2 sw=2 et:
78

Scan history

Scanned at (UTC)SeverityRules
2026-08-21 01:13:51 Low 1

Report a package

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

0 / 4000
Your suggestion