zimbr

LOW
maintainer Hspak 0 votes scanned 2026-09-28 05:20:18.282386
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: Hong Shick Pak <hong@hspak.com>
2
3pkgname=zimbr
4pkgver=0.1.1
5pkgrel=1
6pkgdesc="Native Wayland iMessage client using a self-hosted macOS relay"
7arch=("x86_64")
8url="https://github.com/hspak/zimbr"
9license=("MIT" "Zlib")
10depends=(
11 "cairo"
12 "curl"
13 "glib2"
14 "glibc"
15 "harfbuzz"
16 "libglvnd"
17 "libjpeg-turbo"
18 "libpng"
19 "libxkbcommon"
20 "openssl"
21 "pango"
22 "python"
23 "python-cryptography"
24 "sqlite"
25 "wayland"
26)
27makedepends=("git" "librsvg" "zig>=0.16.0" "zig<0.17")
28checkdepends=("desktop-file-utils")
29optdepends=(
30 "libdecor: client-side window decorations on Wayland"
31 "noto-fonts-emoji: emoji rendering"
32 "notification-daemon: desktop notifications"
33 "ttf-font: text rendering"
34)
35options=("!debug")
36# Bootstrap from the public commit until the first tag; release.sh updates _ref.
37_ref=0.1.1
38source=("$pkgname-$_ref.tar.gz::$url/archive/$_ref.tar.gz")
39sha256sums=("f25ba1f6b03cbff3ea38263530bc72b24e0e3f55ee54bdedb6c1dd5245e51ef6")
40
41prepare() {
42 cd "$pkgname-$_ref"
43 export ZIG_GLOBAL_CACHE_DIR="$srcdir/zig-cache"
44 zig build -Dprofile=release client --fetch=all -Doptimize=ReleaseSafe -Dcpu=baseline
45}
46
47build() {
48 cd "$pkgname-$_ref"
49 export ZIG_GLOBAL_CACHE_DIR="$srcdir/zig-cache"
50 zig build -Dprofile=release client -Doptimize=ReleaseSafe -Dcpu=baseline \
51 --system zig-pkg
52
53 # Bake SVG lighting into PNG fallbacks for desktop icon renderers.
54 local size
55 for size in 16 24 32 48 64 128 256 512; do
56 mkdir -p "zig-out/share/icons/hicolor/${size}x${size}/apps"
57 rsvg-convert --width "$size" --height "$size" packaging/linux/zimbr.svg \
58 --output "zig-out/share/icons/hicolor/${size}x${size}/apps/zimbr.png"
59 done
60}
61
62check() {
63 cd "$pkgname-$_ref"
64 export ZIG_GLOBAL_CACHE_DIR="$srcdir/zig-cache"
65 zig build -Dprofile=release test-client -Doptimize=ReleaseSafe -Dcpu=baseline \
66 --system zig-pkg
67 desktop-file-validate zig-out/share/applications/zimbr.desktop
68 python packaging/linux/provision.py --help >/dev/null
69}
70
71package() {
72 cd "$pkgname-$_ref"
73 install -Dm755 zig-out/bin/zimbr "$pkgdir/usr/bin/zimbr"
74 install -Dm755 packaging/linux/provision.py "$pkgdir/usr/bin/zimbr-provision"
75 install -Dm644 zig-out/share/applications/zimbr.desktop \
76 "$pkgdir/usr/share/applications/zimbr.desktop"
77 install -Dm644 packaging/linux/zimbr.svg \
78 "$pkgdir/usr/share/icons/hicolor/scalable/apps/zimbr.svg"
79
80 local size license_file dependency
81 for size in 16 24 32 48 64 128 256 512; do
82 install -Dm644 "zig-out/share/icons/hicolor/${size}x${size}/apps/zimbr.png" \
83 "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/zimbr.png"
84 done
85 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
86 # Preserve dependency notices alongside the statically linked code.
87 for license_file in zig-pkg/*/LICENSE zig-pkg/*/LICENSE.md; do
88 [[ -f $license_file ]] || continue
89 dependency=${license_file%/*}
90 dependency=${dependency##*/}
91 install -Dm644 "$license_file" \
92 "$pkgdir/usr/share/licenses/$pkgname/dependencies/$dependency/${license_file##*/}"
93 done
94 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
95 install -d "$pkgdir/usr/share/doc/$pkgname/docs"
96 install -m644 docs/*.md "$pkgdir/usr/share/doc/$pkgname/docs/"
97}
98
99# vim: ft=sh syn=sh et
100

Scan history

Scanned at (UTC)SeverityRules
2026-09-28 05:20:18 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