fieldcraft

LOW
maintainer alerque 0 votes scanned 2026-10-24 11:40:05.027745
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=fieldcraft
4pkgver=0.7.0
5pkgrel=1
6url="https://tangency-labs.github.io/$pkgname/"
7_url="https://github.com/tangency-labs/$pkgname"
8pkgdesc='vibe coded clean-room reimplementation of Dassault Systems Abaqus'
9arch=(x86_64)
10license=(MIT Apache-2.0)
11depends=(glibc # libc.so libm.so
12 libgcc)
13makedepends=(cargo)
14_archive="$pkgname-$pkgver"
15source=("$_url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
16sha256sums=('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
35prepare() {
36 _srcenv
37 cargo fetch --locked --target host-tuple
38}
39
40build() {
41 _srcenv
42 cargo build --frozen --release
43}
44
45package() {
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)SeverityRules
2026-10-24 11:40:05 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