tracedraw

LOW
maintainer alerque 0 votes scanned 2026-10-24 21:41:28.778907
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=tracedraw
4pkgver=0.16.0
5pkgrel=1
6url="https://github.com/igtoth/$pkgname"
7pkgdesc='vibe coded clean-room reimplementation of Corel Draw'
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=('796224c86fb6329eb5e257b8c66aaec9f2ed3ab88fc7c16b8ad6d10634976ec1')
17
18_srcenv() {
19 cd "$_archive"
20 export CARGO_HOME="$srcdir"
21 if check_option debug y; then
22 export CARGO_PROFILE_RELEASE_DEBUG=2
23 export CARGO_PROFILE_RELEASE_STRIP=false
24 fi
25 if check_option lto y; then
26 export CARGO_PROFILE_RELEASE_LTO=thin
27 export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
28 fi
29 export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
30 export CARGO_TARGET_DIR=target
31 export RUSTUP_TOOLCHAIN=stable
32 CFLAGS+=' -fno-lto'
33}
34
35_icons=(1024 512 256 128 64 32 16)
36
37prepare() {
38 _srcenv
39 cargo fetch --locked --target host-tuple
40}
41
42build() {
43 _srcenv
44 cargo build --frozen --release
45}
46
47package() {
48 depends+=(libgcc_s.so)
49 cd "$_archive"
50 install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"{,-cli}
51 install -Dm0644 -t "$pkgdir/usr/share/applications/" "packaging/linux/$pkgname.desktop"
52 for s in ${_icons[@]}; do
53 local dim="${s}x${s}"
54 install -Dm0644 assets/icon/$pkgname-$s.png "$pkgdir/usr/share/icons/hicolor/$dim/apps/$pkgname.png"
55 done
56 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-{APACHE,MIT}
57}
58

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 21:41:28 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