mailcraft

LOW
maintainer alerque 0 votes scanned 2026-10-19 15:25:12.467407
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: Caleb Maclennan <caleb@alerque.com>
2
3pkgname=mailcraft
4pkgver=0.5.0
5pkgrel=1
6url="https://github.com/UCS-Care-Group/$pkgname"
7pkgdesc='vibe coded clean-room reimplementation of Microsoft Outlook'
8arch=(x86_64)
9license=(MIT Apache-2.0)
10depends=(glibc # libc.so libm.so
11 hicolor-icon-theme
12 libgcc)
13makedepends=(cargo)
14_archive="$pkgname-$pkgver"
15source=("$url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
16sha256sums=('7cd2df252399fc8ac97681d19f820a288eb8432f97615c3fe9f6e83f28a89cda')
17
18_srcenv() {
19 cd "$_archive"
20 export CARGO_HOME="$srcdir"
21 export CARGO_PROFILE_RELEASE_DEBUG=2
22 export CARGO_PROFILE_RELEASE_STRIP=false
23 export CARGO_PROFILE_RELEASE_LTO=thin
24 export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
25 export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
26 export CARGO_TARGET_DIR=target
27 export RUSTUP_TOOLCHAIN=stable
28 CFLAGS+=' -fno-lto'
29}
30
31_icons=(512 256 128 64 48 32 16)
32
33prepare() {
34 _srcenv
35 cargo fetch --locked --target host-tuple
36}
37
38build() {
39 _srcenv
40 cargo build --frozen --release
41}
42
43package() {
44 depends+=(libgcc_s.so)
45 cd "$_archive"
46 install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"{,-cli}
47 install -Dm0644 -t "$pkgdir/usr/share/applications/" "packaging/linux/io.github.billsecond.$pkgname.desktop"
48 install -Dm0644 -t "$pkgdir/usr/share/mime/packages/" "packaging/linux/io.github.billsecond.$pkgname.mime.xml"
49 # install -Dm0644 -t "$pkgdir/usr/share/icons/hicolor/scalable/" assets/app-icon/hicolor/scalable/apps/io.github.billsecond.$pkgname.svg
50 for s in ${_icons[@]}; do
51 local dim="${s}x${s}"
52 install -Dm0644 -t "$pkgdir/usr/share/icons/hicolor/$dim/apps/" assets/app-icon/hicolor/$dim/apps/io.github.billsecond.$pkgname.png
53 done
54 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-{APACHE,MIT}
55}
56

Scan history

Scanned at (UTC)SeverityRules
2026-10-19 15:25:12 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