ak820

LOW
maintainer Deddroid 0 votes scanned 2026-10-20 09:27:54.737837
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: deddroid <deddo9412@gmail.com>
2pkgname=ak820
3pkgver=0.1.1
4pkgrel=1
5pkgdesc="Configurator for the AJAZZ AK820 Pro keyboard: lighting, per-key RGB, key remapping, macros, TFT screen (GUI + CLI)"
6arch=('x86_64' 'aarch64')
7url="https://github.com/deddroid/ak820-rs"
8license=('MIT')
9depends=('gcc-libs' 'glibc' 'systemd-libs' 'hicolor-icon-theme'
10 'libglvnd' 'libxkbcommon' 'wayland' 'libx11' 'libxcursor' 'libxi' 'libxrandr')
11makedepends=('cargo')
12optdepends=('xdg-desktop-portal: file picker in the GUI'
13 'gnome-shell-extension-appindicator: tray icon on GNOME')
14conflicts=('ak820-bin')
15options=('!lto')
16source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
17sha256sums=('2bba4a629306911c96950dbdcc840a00fb95529993410e534ebeda709df147c6')
18
19prepare() {
20 cd "ak820-rs-$pkgver"
21 export RUSTUP_TOOLCHAIN=stable
22 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
23}
24
25build() {
26 cd "ak820-rs-$pkgver"
27 export RUSTUP_TOOLCHAIN=stable
28 export CARGO_TARGET_DIR=target
29 # Keep build paths out of the binaries.
30 export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix=$srcdir=/build"
31 cargo build --frozen --release
32}
33
34check() {
35 cd "ak820-rs-$pkgver"
36 export RUSTUP_TOOLCHAIN=stable
37 cargo test --frozen --release --lib
38}
39
40package() {
41 cd "ak820-rs-$pkgver"
42 install -Dm755 target/release/ak820 "$pkgdir/usr/bin/ak820"
43 install -Dm755 target/release/ak820-gui "$pkgdir/usr/bin/ak820-gui"
44 install -Dm644 packaging/linux/ak820.desktop "$pkgdir/usr/share/applications/ak820.desktop"
45 for s in 32 48 64 128 256; do
46 install -Dm644 "assets/icon-$s.png" "$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/ak820.png"
47 done
48 # Lets the logged-in user open the keyboard without root.
49 install -Dm644 udev/70-ajazz-ak820.rules "$pkgdir/usr/lib/udev/rules.d/70-ajazz-ak820.rules"
50 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51 install -Dm644 README.md docs/PROTOCOL.md examples/profile.toml -t "$pkgdir/usr/share/doc/$pkgname/"
52}
53

Scan history

Scanned at (UTC)SeverityRules
2026-10-20 09:27:54 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