tracedraw-git
LOW
maintainer alerque
0 votes
scanned 2026-10-24 21:41:28.778907
Why flagged
The package builds from source via git from the project's official GitHub repository; the low severity is due to few votes and recent upload, but the build process is transparent and follows standard AUR practices.
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.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from source via git from the project's official GitHub repository; the low severity is due to few votes and recent upload, but the build process is transparent and follows standard AUR practices.
PKGBUILD
1
# Maintainer: Caleb Maclennan <caleb@alerque.com>
2
3
pkgname=tracedraw-git
4
_pkgname=${pkgname%-git}
5
pkgver=0.17.0.r0.g94271e2
6
pkgrel=1
7
url="https://github.com/igtoth/$_pkgname"
8
pkgdesc='vibe coded clean-room reimplementation of Corel Draw'
9
arch=(x86_64)
10
license=(MIT Apache-2.0)
11
depends=(glibc # libc.so libm.so
12
hicolor-icon-theme
13
libgcc)
14
makedepends=(cargo
15
git)
16
provides=("$_pkgname=$pkgver")
17
conflicts=("$_pkgname")
18
source=("git+$url.git")
19
sha256sums=('SKIP')
20
21
_srcenv() {
22
cd "$_pkgname"
23
export CARGO_HOME="$srcdir"
24
if check_option debug y; then
25
export CARGO_PROFILE_RELEASE_DEBUG=2
26
export CARGO_PROFILE_RELEASE_STRIP=false
27
fi
28
if check_option lto y; then
29
export CARGO_PROFILE_RELEASE_LTO=thin
30
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
31
fi
32
export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
33
export CARGO_TARGET_DIR=target
34
export RUSTUP_TOOLCHAIN=stable
35
CFLAGS+=' -fno-lto'
36
}
37
38
_icons=(1024 512 256 128 64 32 16)
39
40
prepare() {
41
_srcenv
42
cargo fetch --locked --target host-tuple
43
}
44
45
pkgver() {
46
cd "$_pkgname"
47
git describe --long --tags --abbrev=7 --match="v*" HEAD |
48
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
49
}
50
51
build() {
52
_srcenv
53
cargo build --frozen --release
54
}
55
56
package() {
57
depends+=(libgcc_s.so)
58
cd "$_pkgname"
59
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_pkgname"{,-cli}
60
install -Dm0644 -t "$pkgdir/usr/share/applications/" "packaging/linux/$_pkgname.desktop"
61
for s in ${_icons[@]}; do
62
local dim="${s}x${s}"
63
install -Dm0644 assets/icon/$_pkgname-$s.png "$pkgdir/usr/share/icons/hicolor/$dim/apps/$_pkgname.png"
64
done
65
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-{APACHE,MIT}
66
}
67
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 21:41:28 | Low | 2 |