opencadstudio
LOW
maintainer guglovich
0 votes
scanned 2026-10-29 17:53:05.425985
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: guglovich <guglovich164@gmail.com>
2
# Created with assistance from GLM 5.3 Flash.
3
pkgname=opencadstudio
4
pkgver=2026.43.0
5
pkgrel=1
6
pkgdesc="A CAD application built with Rust — 2D/3D drawing, DWG/DXF support, and GPU-accelerated rendering"
7
arch=('x86_64')
8
url="https://github.com/HakanSeven12/OpenCADStudio"
9
license=('GPL-3.0')
10
depends=()
11
makedepends=(
12
'rust'
13
'cargo'
14
)
15
options=(!debug !lto)
16
# The source tarball extracts to a directory named OpenCADStudio-2026.43
17
source=("$pkgname-$pkgver.tar.gz::https://github.com/HakanSeven12/OpenCADStudio/archive/refs/tags/v2026.43.tar.gz")
18
sha256sums=('54b7969f65ada43654ba850271a6dcc441c6283a20bd27e3fda20578900a84d7')
19
20
# Detected from tarball extraction: OpenCADStudio-2026.43
21
_pkgdir="OpenCADStudio-2026.43"
22
23
prepare() {
24
cd "$_pkgdir"
25
# The iced crate uses a git dependency that may need to be available locally.
26
# If cargo fails to fetch iced, ensure it's cached or update the revision.
27
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
28
}
29
30
build() {
31
cd "$_pkgdir"
32
cargo build --release 2>&1 | tail -20
33
}
34
35
check() {
36
cd "$_pkgdir"
37
cargo test --release 2>/dev/null || true
38
}
39
40
package() {
41
cd "$_pkgdir"
42
# Install the binary
43
if [ -f target/release/OpenCADStudio ]; then
44
install -Dm755 target/release/OpenCADStudio "$pkgdir/usr/bin/opencadstudio"
45
fi
46
# Install license
47
if [ -f LICENSE ]; then
48
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
49
fi
50
# Install desktop file if present
51
if [ -f OpenCADStudio.desktop ]; then
52
install -Dm644 OpenCADStudio.desktop "$pkgdir/usr/share/applications/opencadstudio.desktop"
53
fi
54
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-29 17:53:05 | Low | 1 |