zimbr
LOW
maintainer Hspak
0 votes
scanned 2026-09-28 05:20:18.282386
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
3
pkgname=zimbr
4
pkgver=0.1.1
5
pkgrel=1
6
pkgdesc="Native Wayland iMessage client using a self-hosted macOS relay"
7
arch=("x86_64")
8
url="https://github.com/hspak/zimbr"
9
license=("MIT" "Zlib")
10
depends=(
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
)
27
makedepends=("git" "librsvg" "zig>=0.16.0" "zig<0.17")
28
checkdepends=("desktop-file-utils")
29
optdepends=(
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
)
35
options=("!debug")
36
# Bootstrap from the public commit until the first tag; release.sh updates _ref.
37
_ref=0.1.1
38
source=("$pkgname-$_ref.tar.gz::$url/archive/$_ref.tar.gz")
39
sha256sums=("f25ba1f6b03cbff3ea38263530bc72b24e0e3f55ee54bdedb6c1dd5245e51ef6")
40
41
prepare() {
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
47
build() {
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
62
check() {
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
71
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-28 05:20:18 | Low | 1 |