thinkpoint
LOW
maintainer Al1nuX
0 votes
scanned 2026-09-03 19:54:21.739188
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
2
pkgname=thinkpoint
3
# GitHub names its archives after the repository, which is capitalised, so the
4
# extracted directory is not $pkgname-$pkgver.
5
_repo=ThinkPoint
6
pkgver=0.3.1
7
pkgrel=1
8
pkgdesc="TUI for TrackPoint tuning, pointer button maps and libinput properties"
9
arch=('x86_64' 'aarch64')
10
url="https://github.com/CryptLabs/ThinkPoint"
11
license=('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.
14
depends=('gcc-libs' 'glibc')
15
optdepends=(
16
'xorg-xinput: button maps, libinput properties, the detector and the meter'
17
'sudo: writing sysfs values and the udev rule'
18
)
19
makedepends=('cargo')
20
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
21
sha256sums=('1c07e419e54e0bd8edd48b8a7e5c391e50e17614166e4ea74cd551f7f4160667')
22
23
prepare() {
24
cd "$_repo-$pkgver"
25
export RUSTUP_TOOLCHAIN=stable
26
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
27
}
28
29
build() {
30
cd "$_repo-$pkgver"
31
export RUSTUP_TOOLCHAIN=stable
32
export CARGO_TARGET_DIR=target
33
cargo build --frozen --release --all-features
34
}
35
36
check() {
37
cd "$_repo-$pkgver"
38
export RUSTUP_TOOLCHAIN=stable
39
cargo test --frozen --all-features
40
}
41
42
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-03 19:54:21 | Low | 1 |