luajit-rs

maintainer alerque · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from source hosted on GitHub under a plausible project URL, uses standard Rust build practices, and installs only the resulting binary and license; the low severity is due to minimal votes and recent upload, not malicious content.

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.

LOW AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from source hosted on GitHub under a plausible project URL, uses standard Rust build practices, and installs only the resulting binary and license; the low severity is due to minimal votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: Caleb Maclennan <caleb@alerque.com>
2
3pkgname=luajit-rs
4pkgver=0.0.0
5pkgrel=1
6pkgdesc='A LuaJIT 3 interpreter written in pure Rust'
7arch=(x86_64 i686)
8url="https://github.com/CppCXY/$pkgname"
9license=(MIT)
10depends=(glibc # libc.so libm.so
11 libgcc libgcc_s.so)
12makedepends=(cargo)
13_archive="$pkgname-$pkgver"
14source=("$url/archive/refs/tags/$pkgver/$_archive.tar.gz")
15sha256sums=('SKIP')
16
17_srcenv() {
18 cd "$_archive"
19 export CARGO_HOME="$srcdir"
20 export CARGO_PROFILE_RELEASE_DEBUG=2
21 export CARGO_PROFILE_RELEASE_STRIP=false
22 export CARGO_PROFILE_RELEASE_LTO=true
23 export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
24 export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
25 export RUSTUP_TOOLCHAIN=stable
26 export CARGO_TARGET_DIR=target
27}
28
29prepare() {
30 _srcenv
31 cargo fetch --locked --target host-tuple
32}
33
34build() {
35 _srcenv
36 cargo build --frozen --release
37}
38
39check() {
40 _srcenv
41 cargo test --frozen
42}
43
44package () {
45 cd "$_archive"
46 install -Dm0755 target/release/lua "$pkgdir/usr/bin/$pkgname"
47 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
48}
49

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 21:12:47 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion