unpalm
LOW
maintainer rpodgorny
0 votes
scanned 2026-10-30 13:56:02.430493
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: Radek Podgorny <radek@podgorny.cz>
2
pkgname=unpalm
3
pkgver=0.1.2
4
pkgrel=1
5
pkgdesc="Linux palm rejection filter for touchpads"
6
arch=('x86_64')
7
url="https://github.com/rpodgorny/unpalm"
8
license=('GPL-3.0-only')
9
depends=()
10
makedepends=('cargo')
11
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
12
sha256sums=('SKIP')
13
14
prepare() {
15
cd "$pkgname-$pkgver"
16
export RUSTUP_TOOLCHAIN=stable
17
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
18
}
19
20
build() {
21
cd "$pkgname-$pkgver"
22
export RUSTUP_TOOLCHAIN=stable
23
export CARGO_TARGET_DIR=target
24
cargo build --frozen --release
25
}
26
27
check() {
28
cd "$pkgname-$pkgver"
29
export RUSTUP_TOOLCHAIN=stable
30
export CARGO_TARGET_DIR=target
31
cargo test --frozen
32
}
33
34
package() {
35
cd "$pkgname-$pkgver"
36
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
37
38
# Install service file, fixing path for system package location
39
sed 's|/usr/local/bin/|/usr/bin/|g' unpalm.service |
40
install -Dm644 /dev/stdin "$pkgdir/usr/lib/systemd/system/$pkgname.service"
41
42
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 13:56:02 | Low | 1 |
| 2026-10-30 11:55:28 | Low | 1 |