linux-trackpad-driver

LOW
maintainer aaronroque 0 votes scanned 2026-10-18 01:20:44.235951
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: Aaron Roque Fonseca <https://github.com/aaronroquefonseca>
2# TEMPLATE for AUR `linux-trackpad-driver` (stable source build).
3#
4# DO NOT publish this file directly. Placeholders 0.1.0 / e4397ff084017ab6718352704705f73807029ea4d959ca426d38d25c73a7b04b
5# are filled by packaging/arch/render-aur.sh once tag vX.Y.Z exists and the
6# tag tarball digest is known. Publishing SKIP for an immutable release
7# archive is forbidden. See packaging/arch/README.md for the contract.
8
9pkgname=linux-trackpad-driver
10pkgver=0.1.0
11pkgrel=2
12pkgdesc="Extensible userspace Linux driver for enhanced trackpad functionality, currently supporting Apple Magic Trackpad 2"
13arch=('x86_64' 'aarch64')
14url="https://github.com/aaronroquefonseca/linux-trackpad-driver"
15license=('MIT' 'Apache-2.0')
16depends=('gcc-libs' 'glibc' 'systemd')
17makedepends=('cargo')
18optdepends=('libinput: pointer/palm processing for passthrough events and hwdb quirks (see INSTALL.md "hwdb note")')
19conflicts=('linux-trackpad-driver-bin' 'linux-trackpad-driver-git')
20backup=('etc/linux-trackpad-driver/config.toml')
21install=ltd.install
22source=("$pkgname-$pkgver.tar.gz::https://github.com/aaronroquefonseca/linux-trackpad-driver/archive/refs/tags/v$pkgver.tar.gz")
23sha256sums=('e4397ff084017ab6718352704705f73807029ea4d959ca426d38d25c73a7b04b')
24
25prepare() {
26 cd "$pkgname-$pkgver"
27 export RUSTUP_TOOLCHAIN=stable
28 cargo fetch --locked --target "$(rustc -vV | sed -n 's|host: ||p')"
29}
30
31build() {
32 cd "$pkgname-$pkgver"
33 export RUSTUP_TOOLCHAIN=stable
34 export CARGO_TARGET_DIR=target
35 cargo build --frozen --release --all-features
36}
37
38check() {
39 cd "$pkgname-$pkgver"
40 export RUSTUP_TOOLCHAIN=stable
41 cargo test --frozen --all-features
42}
43
44package() {
45 cd "$pkgname-$pkgver"
46
47 install -Dm755 "target/release/ltd" "${pkgdir}/usr/bin/ltd"
48 install -Dm644 "config/default.toml" "${pkgdir}/etc/linux-trackpad-driver/config.toml"
49 install -Dm644 "udev/99-linux-trackpad-driver.rules" "${pkgdir}/usr/lib/udev/rules.d/99-linux-trackpad-driver.rules"
50 install -Dm644 "systemd/linux-trackpad-driver.service" "${pkgdir}/usr/lib/systemd/system/linux-trackpad-driver.service"
51 install -Dm644 "systemd/linux-trackpad-driver-reconnect@.service" "${pkgdir}/usr/lib/systemd/system/linux-trackpad-driver-reconnect@.service"
52 install -Dm644 "systemd/linux-trackpad-driver-resume.service" "${pkgdir}/usr/lib/systemd/system/linux-trackpad-driver-resume.service"
53 install -Dm755 "systemd/system-sleep/ltd-resume" "${pkgdir}/usr/lib/systemd/system-sleep/ltd-resume"
54 install -Dm644 "LICENSE-MIT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
55 install -Dm644 "LICENSE-APACHE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-10-18 01:20:44 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