linux-trackpad-driver
LOW
maintainer aaronroque
0 votes
scanned 2026-10-18 01:20:44.235951
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
9
pkgname=linux-trackpad-driver
10
pkgver=0.1.0
11
pkgrel=2
12
pkgdesc="Extensible userspace Linux driver for enhanced trackpad functionality, currently supporting Apple Magic Trackpad 2"
13
arch=('x86_64' 'aarch64')
14
url="https://github.com/aaronroquefonseca/linux-trackpad-driver"
15
license=('MIT' 'Apache-2.0')
16
depends=('gcc-libs' 'glibc' 'systemd')
17
makedepends=('cargo')
18
optdepends=('libinput: pointer/palm processing for passthrough events and hwdb quirks (see INSTALL.md "hwdb note")')
19
conflicts=('linux-trackpad-driver-bin' 'linux-trackpad-driver-git')
20
backup=('etc/linux-trackpad-driver/config.toml')
21
install=ltd.install
22
source=("$pkgname-$pkgver.tar.gz::https://github.com/aaronroquefonseca/linux-trackpad-driver/archive/refs/tags/v$pkgver.tar.gz")
23
sha256sums=('e4397ff084017ab6718352704705f73807029ea4d959ca426d38d25c73a7b04b')
24
25
prepare() {
26
cd "$pkgname-$pkgver"
27
export RUSTUP_TOOLCHAIN=stable
28
cargo fetch --locked --target "$(rustc -vV | sed -n 's|host: ||p')"
29
}
30
31
build() {
32
cd "$pkgname-$pkgver"
33
export RUSTUP_TOOLCHAIN=stable
34
export CARGO_TARGET_DIR=target
35
cargo build --frozen --release --all-features
36
}
37
38
check() {
39
cd "$pkgname-$pkgver"
40
export RUSTUP_TOOLCHAIN=stable
41
cargo test --frozen --all-features
42
}
43
44
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-18 01:20:44 | Low | 1 |