moarchy-mail

LOW
maintainer simonschubert 0 votes scanned 2026-09-28 11:20:45.263512
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: Simon Schubert <simon@librem.one>
2#
3# Mail as an app: the QML tree in /usr/share/moarchy-mail, started by
4# /usr/bin/moarchy-mail. That launcher opens it in the running Omarchy shell
5# when the plugin is installed there, and as its own Quickshell process
6# everywhere else -- so this package needs Quickshell, not Omarchy.
7#
8# Every word said to a mail server goes through /usr/lib/moarchy-mail/
9# moarchy-mail, one run per request: Python with nothing but the standard
10# library, because QML cannot open a TLS socket. It is a program, so it is in
11# /usr/lib rather than beside the QML in /usr/share, and it is not on PATH:
12# /usr/bin/moarchy-mail is the launcher.
13#
14# 0.1.0 was a shell plugin, copied onto the phone by a script and never
15# packaged; 0.2.0 is the first package, reading and writing the same
16# ~/.local/share/moarchy-mail.
17pkgname=moarchy-mail
18pkgver=0.2.0
19pkgrel=1
20pkgdesc='One email account over IMAP and SMTP, no HTML drawn, for Quickshell'
21arch=('any')
22url='https://github.com/SimonSchubert/moarchy-apps'
23license=('MIT')
24# qt6-declarative (QtQuick) comes with quickshell. The kit's icons are Nerd
25# Font glyphs, which namcap cannot see, so it calls that dependency unneeded.
26depends=('quickshell' 'python' 'ttf-jetbrains-mono-nerd' 'hicolor-icon-theme')
27optdepends=('xdg-utils: open links and saved attachments'
28 'feedbackd: a sound when new mail comes'
29 'libnotify: a notification when new mail comes, outside Omarchy')
30# A release asset that packaging/release.sh builds from apps/mail at the tag,
31# with shared/kit in place of the kit link -- not GitHub's generated archive,
32# whose compression has moved under pinned checksums before.
33source=("$url/releases/download/mail-v$pkgver/$pkgname-$pkgver.tar.gz")
34# Pinned in the commit after the tag, as every app's here is.
35sha256sums=('8493a3618fd70f125fff114b74491b8fa08365097468204e5427fd7a12691dd7')
36
37check() {
38 cd "$pkgname-$pkgver"
39 # The folder, the address and the message logic, then the helper's own
40 # tests. The half of those that needs a mail server skips itself here;
41 # tests/e2e.sh runs it against Dovecot.
42 QT_QPA_PLATFORM=offscreen /usr/lib/qt6/bin/qmltestrunner -input tests
43 (cd tests && PYTHONDONTWRITEBYTECODE=1 python3 -m unittest test_moarchy_mail)
44}
45
46package() {
47 cd "$pkgname-$pkgver"
48
49 install -d "$pkgdir/usr/share/$pkgname/kit"
50 install -m644 manifest.json ./*.qml ./*.js icon.svg "$pkgdir/usr/share/$pkgname/"
51 install -m644 kit/*.qml kit/*.js "$pkgdir/usr/share/$pkgname/kit/"
52
53 install -Dm755 libexec/moarchy-mail "$pkgdir/usr/lib/$pkgname/moarchy-mail"
54 install -Dm755 bin/moarchy-mail "$pkgdir/usr/bin/moarchy-mail"
55 install -Dm644 org.moarchy.Mail.desktop "$pkgdir/usr/share/applications/org.moarchy.Mail.desktop"
56 install -Dm644 org.moarchy.Mail.compose.desktop \
57 "$pkgdir/usr/share/applications/org.moarchy.Mail.compose.desktop"
58 install -Dm644 icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/org.moarchy.Mail.svg"
59 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
60}
61

Scan history

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