tracedraw
LOW
maintainer alerque
0 votes
scanned 2026-10-24 21:41:28.778907
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=tracedraw
4
pkgver=0.16.0
5
pkgrel=1
6
url="https://github.com/igtoth/$pkgname"
7
pkgdesc='vibe coded clean-room reimplementation of Corel Draw'
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=('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
37
prepare() {
38
_srcenv
39
cargo fetch --locked --target host-tuple
40
}
41
42
build() {
43
_srcenv
44
cargo build --frozen --release
45
}
46
47
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-24 21:41:28 | Low | 1 |