hylki

LOW
maintainer bjesus 0 votes scanned 2026-10-07 20:06:42.279410
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: Yo'av Moshe <aur@yoavmoshe.com>
2
3pkgname=hylki
4pkgver=1.42.0
5pkgrel=1
6pkgdesc="A clean, fast GNOME-native email client"
7arch=('x86_64' 'aarch64')
8url="https://hylki.hyprlab.co"
9license=('AGPL-3.0-or-later')
10depends=(
11 'cairo'
12 'dbus'
13 'gcc-libs'
14 'gdk-pixbuf2'
15 'glib2'
16 'glibc'
17 'graphene'
18 'gtk4'
19 'libadwaita'
20 'openssl'
21 'pango'
22 'poppler-glib'
23 'wayland'
24 'webkitgtk-6.0'
25)
26makedepends=(
27 'cargo'
28 'gettext'
29 'glib2-devel'
30 'pkgconf'
31)
32optdepends=(
33 'gnome-keyring: Secret Service provider to store passwords and OAuth tokens'
34 'nautilus-python: GNOME Files right-click attachment integration'
35)
36options=('!lto')
37source=("$pkgname-$pkgver.tar.gz::https://github.com/hyprlab/hylki/archive/refs/tags/v$pkgver.tar.gz")
38sha256sums=('5c653af17319354bc07f0a6d800d59a693143f485cad29d51bb4d05e41ad15bc')
39
40prepare() {
41 cd "$pkgname-$pkgver"
42 export RUSTUP_TOOLCHAIN=stable
43 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
44}
45
46build() {
47 cd "$pkgname-$pkgver"
48 export RUSTUP_TOOLCHAIN=stable
49 export CARGO_TARGET_DIR=target
50 cargo build --frozen --release
51
52 # Compile gettext translations
53 for po in po/*.po; do
54 [ -e "$po" ] || continue
55 lang=$(basename "$po" .po)
56 mkdir -p "locale/$lang/LC_MESSAGES"
57 msgfmt -o "locale/$lang/LC_MESSAGES/hylki.mo" "$po"
58 done
59
60 # Generate translated desktop file and metainfo
61 msgfmt --desktop --template=data/co.hyprlab.Hylki.desktop -d po -o co.hyprlab.Hylki.desktop
62 msgfmt --xml --template=data/co.hyprlab.Hylki.metainfo.xml -d po -o co.hyprlab.Hylki.metainfo.xml
63}
64
65check() {
66 cd "$pkgname-$pkgver"
67 export RUSTUP_TOOLCHAIN=stable
68 cargo test --frozen
69}
70
71package() {
72 cd "$pkgname-$pkgver"
73
74 # Binary
75 install -Dm755 target/release/hylki "$pkgdir/usr/bin/hylki"
76
77 # Desktop file and AppStream metadata
78 install -Dm644 co.hyprlab.Hylki.desktop "$pkgdir/usr/share/applications/co.hyprlab.Hylki.desktop"
79 install -Dm644 co.hyprlab.Hylki.metainfo.xml "$pkgdir/usr/share/metainfo/co.hyprlab.Hylki.metainfo.xml"
80
81 # Icons
82 for size in 256x256 512x512; do
83 install -Dm644 "data/icons/hicolor/$size/apps/co.hyprlab.Hylki.png" \
84 "$pkgdir/usr/share/icons/hicolor/$size/apps/co.hyprlab.Hylki.png"
85 done
86 install -Dm644 data/icons/hicolor/scalable/apps/co.hyprlab.Hylki.svg \
87 "$pkgdir/usr/share/icons/hicolor/scalable/apps/co.hyprlab.Hylki.svg"
88 install -Dm644 data/icons/hicolor/symbolic/apps/co.hyprlab.Hylki-symbolic.svg \
89 "$pkgdir/usr/share/icons/hicolor/symbolic/apps/co.hyprlab.Hylki-symbolic.svg"
90
91 # Translations
92 for mo in locale/*/LC_MESSAGES/hylki.mo; do
93 [ -e "$mo" ] || continue
94 install -Dm644 "$mo" "$pkgdir/usr/share/$mo"
95 done
96
97 # License
98 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
99}
100

Scan history

Scanned at (UTC)SeverityRules
2026-10-07 20:06:42 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