subcraft
LOW
maintainer alerque
0 votes
scanned 2026-10-17 21:19:24.858333
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=subcraft
4
pkgver=0.1.5
5
pkgrel=1
6
url="https://aalzard.github.io/$pkgname"
7
_url="https://github.com/Aalzard/$pkgname"
8
pkgdesc='vibe coded clean-room reimplementation of Adobe Substance Painter'
9
arch=(x86_64)
10
license=(MIT Apache-2.0)
11
depends=(glibc # libc.so libm.so
12
libgcc)
13
makedepends=(cargo)
14
_archive="$pkgname-$pkgver"
15
source=("$_url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
16
sha256sums=('1f82d561146906947f73c37d4df00c7fa2f3a13ee87234e24671723758901349')
17
18
_srcenv() {
19
cd "$_archive"
20
export CARGO_HOME="$srcdir"
21
export CARGO_PROFILE_RELEASE_DEBUG=2
22
export CARGO_PROFILE_RELEASE_STRIP=false
23
export CARGO_PROFILE_RELEASE_LTO=thin
24
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
25
export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
26
export CARGO_TARGET_DIR=target
27
export RUSTUP_TOOLCHAIN=stable
28
CFLAGS+=' -fno-lto'
29
}
30
31
prepare() {
32
_srcenv
33
cargo fetch --locked --target host-tuple
34
}
35
36
build() {
37
_srcenv
38
cargo build --frozen --release
39
}
40
41
package() {
42
depends+=(libgcc_s.so)
43
cd "$_archive"
44
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
45
install -Dm0644 -t "$pkgdir/usr/share/applications/" "packaging/linux/$pkgname.desktop"
46
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-{APACHE,MIT}
47
}
48
Changes since previous scan
--- PKGBUILD @ 2026-10-16 00:12+++ PKGBUILD @ 2026-10-17 21:19@@ -1,7 +1,7 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=subcraft-pkgver=0.1.4+pkgver=0.1.5 pkgrel=1 url="https://aalzard.github.io/$pkgname" _url="https://github.com/Aalzard/$pkgname"@@ -13,7 +13,7 @@ makedepends=(cargo) _archive="$pkgname-$pkgver" source=("$_url/archive/refs/tags/v$pkgver/$_archive.tar.gz")-sha256sums=('174abffdb47ac12c6f73dde3bcae01b06bebcb9a89be3babec54981aa44ef7d9')+sha256sums=('1f82d561146906947f73c37d4df00c7fa2f3a13ee87234e24671723758901349') _srcenv() { cd "$_archive"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 21:19:24 | Low | 1 |
| 2026-10-16 00:12:47 | Clean | 2 |
| 2026-10-15 19:13:05 | Low | 1 |
| 2026-10-15 09:11:05 | Low | 1 |
| 2026-10-15 00:28:05 | Clean | 2 |
| 2026-10-14 17:20:19 | Low | 1 |