Package Details: zsa-zapp-git 1.0.1.r0.gc1dd545-1

Git Clone URL: https://aur.archlinux.org/zsa-zapp-git.git (read-only, click to copy)
Package Base: zsa-zapp-git
Description: Flash ZSA keyboards from your terminal.
Upstream URL: https://github.com/zsa/zapp
Keywords: oryx zapp zsa
Licenses: LicenseRef-MIT-Commons-Clause
Conflicts: zsa-zapp
Provides: zsa-zapp
Submitter: banana-bread
Maintainer: banana-bread
Last Packager: banana-bread
Votes: 1
Popularity: 0.61
First Submitted: 2026-05-01 07:30 (UTC)
Last Updated: 2026-05-13 07:27 (UTC)

Latest Comments

trumpetrespas commented on 2026-05-13 16:49 (UTC)

Glad I could help.

Mahalo!

banana-bread commented on 2026-05-13 08:25 (UTC)

@trumpetrespas That was very kind of you to share your prepare function. Thank you! I have used it in my PKGBUILD and have attributed you as well.

I agree, pre-fetching dependencies in prepare function and then building offline seems better even if cargo update wasn't required because of the lock file mismatch.

libudev.so was indeed a new dependency of the binary in v1.0.1

Thanks!

trumpetrespas commented on 2026-05-12 19:19 (UTC)

Aloha.

I maintain the zsa-zapp aur package; I based it on this one.

In the latest update for mine, I had a few issues.

I figured I'd post the solutions here so we don't have to investigate them twice :D.

In the latest update, the cargo file is not locked. Meaning that a prepare function is required to update the lock file and fetch the dependencies:

prepare() {
    cd "$_name-$pkgver"
    export RUSTUP_TOOLCHAIN=stable

    # Unfortunately needed for v1.0.1.
    # Next update should be tried without "cargo update",
    # as upstream may have fixed this issue.
    cargo update
    cargo fetch --locked --target host-tuple
}

In addition to this, I think you're missing a dependency (I was anyway) for systemd-libs (required for libudev.so).

# In depends array.
systemd-libs

# In build
depends+=(libudev.so)

Mahalo!