python-akp02
maintainer deons
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from source hosted on the maintainer's GitHub, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.
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.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from source hosted on the maintainer's GitHub, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.
PKGBUILD
1
# Maintainer: Deon Spengler <deon@spengler.co.za>
2
3
pkgname=python-akp02
4
pkgver=1.0.0
5
pkgrel=1
6
pkgdesc="Driver library for the Ajazz AKP02 USB secondary display"
7
arch=('any')
8
url="https://github.com/deonspengler/akp02"
9
license=('MPL-2.0')
10
depends=(
11
'python'
12
'python-pillow'
13
'python-hidapi'
14
)
15
makedepends=(
16
'python-build'
17
'python-installer'
18
'python-wheel'
19
'python-hatchling'
20
)
21
checkdepends=(
22
'python-pytest'
23
)
24
source=("$pkgname-$pkgver.tar.gz::https://github.com/deonspengler/akp02/archive/refs/tags/v$pkgver.tar.gz")
25
sha256sums=('SKIP')
26
27
build() {
28
cd "akp02-$pkgver"
29
python -m build --wheel --no-isolation
30
}
31
32
check() {
33
cd "akp02-$pkgver"
34
python -m pytest
35
}
36
37
package() {
38
cd "akp02-$pkgver"
39
python -m installer --destdir="$pkgdir" dist/*.whl
40
41
# Vendor-provided udev rules belong in /usr/lib/udev/rules.d/ --
42
# /etc/udev/rules.d/ is reserved for user-level overrides. Packaging
43
# this means users of this PKGBUILD skip the manual "sudo cp" step
44
# the README describes for a plain `pip install`.
45
install -Dm644 udev/99-akp02.rules \
46
"$pkgdir/usr/lib/udev/rules.d/99-akp02.rules"
47
48
install -Dm644 LICENSE \
49
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 15:15:12 | LOW | 2 |