mailcraft
LOW
maintainer alerque
0 votes
scanned 2026-10-19 15:25:12.467407
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
3
pkgname=mailcraft
4
pkgver=0.5.0
5
pkgrel=1
6
url="https://github.com/UCS-Care-Group/$pkgname"
7
pkgdesc='vibe coded clean-room reimplementation of Microsoft Outlook'
8
arch=(x86_64)
9
license=(MIT Apache-2.0)
10
depends=(glibc # libc.so libm.so
11
hicolor-icon-theme
12
libgcc)
13
makedepends=(cargo)
14
_archive="$pkgname-$pkgver"
15
source=("$url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
16
sha256sums=('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
33
prepare() {
34
_srcenv
35
cargo fetch --locked --target host-tuple
36
}
37
38
build() {
39
_srcenv
40
cargo build --frozen --release
41
}
42
43
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-19 15:25:12 | Low | 1 |