tracedraw-git

LOW
maintainer alerque 0 votes scanned 2026-10-24 21:41:28.778907
View on AUR
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
3pkgname=tracedraw-git
4_pkgname=${pkgname%-git}
5pkgver=0.17.0.r0.g94271e2
6pkgrel=1
7url="https://github.com/igtoth/$_pkgname"
8pkgdesc='vibe coded clean-room reimplementation of Corel Draw'
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 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
40prepare() {
41 _srcenv
42 cargo fetch --locked --target host-tuple
43}
44
45pkgver() {
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
51build() {
52 _srcenv
53 cargo build --frozen --release
54}
55
56package() {
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)SeverityRules
2026-10-24 21:41:28 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion