mailcraft-git

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

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