zapfast
LOW
maintainer crmne
0 votes
scanned 2026-09-14 11:16:56.753038
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>
2
pkgname=zapfast
3
pkgver=0.13.0
4
pkgrel=1
5
pkgdesc="Fast native WhatsApp client built with Rust and egui"
6
arch=('x86_64' 'aarch64')
7
url="https://zapfast.rocks"
8
license=('MIT')
9
install="${pkgname}.install"
10
depends=('alsa-lib' 'libglvnd' 'libxkbcommon' 'wayland' 'libx11')
11
makedepends=('cargo' 'cmake')
12
optdepends=('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')
15
provides=('fastsapp')
16
conflicts=('zapfast-bin' 'zapfast-git' 'fastsapp' 'fastsapp-bin' 'fastsapp-git')
17
replaces=('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.
22
options=('!debug' '!lto')
23
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crmne/zapfast/archive/refs/tags/v${pkgver}.tar.gz")
24
sha256sums=('211034b03b4b2423017cf2fea19ead30878cdb1ffde97eb49e05b8bed06e64d3')
25
26
prepare() {
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
34
build() {
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
45
check() {
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
53
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-14 11:16:56 | Low | 1 |