zapfast

LOW
maintainer crmne 0 votes scanned 2026-09-14 11:16:56.753038
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: Carmine Paolino <carmine@paolino.me>
2pkgname=zapfast
3pkgver=0.13.0
4pkgrel=1
5pkgdesc="Fast native WhatsApp client built with Rust and egui"
6arch=('x86_64' 'aarch64')
7url="https://zapfast.rocks"
8license=('MIT')
9install="${pkgname}.install"
10depends=('alsa-lib' 'libglvnd' 'libxkbcommon' 'wayland' 'libx11')
11makedepends=('cargo' 'cmake')
12optdepends=('libxkbcommon-x11: keyboard handling in X11 sessions'
13 'noto-fonts-emoji: colour emoji in messages and reactions'
14 'xdg-desktop-portal: the file picker for attachments')
15provides=('fastsapp')
16conflicts=('zapfast-bin' 'zapfast-git' 'fastsapp' 'fastsapp-bin' 'fastsapp-git')
17replaces=('fastsapp')
18# !lto because ring compiles its own C and Arch's default CFLAGS put LTO
19# objects in the archive, which lld then cannot resolve: the link fails on
20# undefined ring_core_* symbols. The stable package is prebuilt and never
21# meets this.
22options=('!debug' '!lto')
23source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crmne/zapfast/archive/refs/tags/v${pkgver}.tar.gz")
24sha256sums=('211034b03b4b2423017cf2fea19ead30878cdb1ffde97eb49e05b8bed06e64d3')
25
26prepare() {
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 export RUSTUP_TOOLCHAIN=stable
29 # whatsapp-rust is a git dependency pinned to a commit; the lockfile
30 # names it, so this fetches it along with everything else.
31 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
32}
33
34build() {
35 cd "${srcdir}/${pkgname}-${pkgver}"
36 export RUSTUP_TOOLCHAIN=stable
37 export CARGO_TARGET_DIR=target
38 # Generated bindings inside glutin carry the path they were built at, which
39 # ends up in the binary and makes makepkg warn about a reference to $srcdir.
40 # Appended rather than assigned, so the distro's own flags survive.
41 export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=${srcdir}=/"
42 cargo build --frozen --release
43}
44
45check() {
46 cd "${srcdir}/${pkgname}-${pkgver}"
47 export RUSTUP_TOOLCHAIN=stable
48 # The demo feature carries the headless layout test of every screen,
49 # which needs no display and talks to nothing.
50 cargo test --frozen --features demo
51}
52
53package() {
54 cd "${srcdir}/${pkgname}-${pkgver}"
55
56 install -Dm755 "target/release/zapfast" "${pkgdir}/usr/bin/zapfast"
57 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
58 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
59 install -Dm644 "packaging/applications/zapfast.desktop" \
60 "${pkgdir}/usr/share/applications/zapfast.desktop"
61 install -Dm644 "packaging/icons/zapfast.svg" \
62 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/zapfast.svg"
63}
64

Scan history

Scanned at (UTC)SeverityRules
2026-09-14 11:16:56 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