thinkpoint

LOW
maintainer Al1nuX 0 votes scanned 2026-09-03 19:54:21.739188
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: Al1nuX
2pkgname=thinkpoint
3# GitHub names its archives after the repository, which is capitalised, so the
4# extracted directory is not $pkgname-$pkgver.
5_repo=ThinkPoint
6pkgver=0.3.1
7pkgrel=1
8pkgdesc="TUI for TrackPoint tuning, pointer button maps and libinput properties"
9arch=('x86_64' 'aarch64')
10url="https://github.com/CryptLabs/ThinkPoint"
11license=('MIT')
12# Declared rather than left to be pulled in transitively, which is what namcap
13# asks for and what the Rust packages in the official repositories do.
14depends=('gcc-libs' 'glibc')
15optdepends=(
16 'xorg-xinput: button maps, libinput properties, the detector and the meter'
17 'sudo: writing sysfs values and the udev rule'
18)
19makedepends=('cargo')
20source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
21sha256sums=('1c07e419e54e0bd8edd48b8a7e5c391e50e17614166e4ea74cd551f7f4160667')
22
23prepare() {
24 cd "$_repo-$pkgver"
25 export RUSTUP_TOOLCHAIN=stable
26 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
27}
28
29build() {
30 cd "$_repo-$pkgver"
31 export RUSTUP_TOOLCHAIN=stable
32 export CARGO_TARGET_DIR=target
33 cargo build --frozen --release --all-features
34}
35
36check() {
37 cd "$_repo-$pkgver"
38 export RUSTUP_TOOLCHAIN=stable
39 cargo test --frozen --all-features
40}
41
42package() {
43 cd "$_repo-$pkgver"
44 install -Dm0755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
45 install -Dm0644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
46 install -Dm0644 CHANGELOG.md "$pkgdir/usr/share/doc/$pkgname/CHANGELOG.md"
47 install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48}
49

Scan history

Scanned at (UTC)SeverityRules
2026-09-03 19:54:21 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