fieldcraft
LOW
maintainer alerque
0 votes
scanned 2026-10-24 11:40:05.027745
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=fieldcraft
4
pkgver=0.7.0
5
pkgrel=1
6
url="https://tangency-labs.github.io/$pkgname/"
7
_url="https://github.com/tangency-labs/$pkgname"
8
pkgdesc='vibe coded clean-room reimplementation of Dassault Systems Abaqus'
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=('3c89fe73ffb2a978b4cc7d68901e6d7e924905a1c8874850234130f7fbbb0a32')
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
CFLAGS+=' -fno-lto'
31
export CARGO_TARGET_DIR=target
32
export RUSTUP_TOOLCHAIN=stable
33
}
34
35
prepare() {
36
_srcenv
37
cargo fetch --locked --target host-tuple
38
}
39
40
build() {
41
_srcenv
42
cargo build --frozen --release
43
}
44
45
package() {
46
depends+=(libgcc_s.so)
47
cd "$_archive"
48
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"{,-cli}
49
install -Dm0644 -t "$pkgdir/usr/share/applications/" "packaging/linux/io.github.jyviko.$pkgname.desktop"
50
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-{APACHE,MIT}
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 11:40:05 | Low | 1 |