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
3
pkgname=luajit-rs
4
pkgver=0.0.0
5
pkgrel=1
6
pkgdesc='A LuaJIT 3 interpreter written in pure Rust'
7
arch=(x86_64 i686)
8
url="https://github.com/CppCXY/$pkgname"
9
license=(MIT)
10
depends=(glibc # libc.so libm.so
11
libgcc libgcc_s.so)
12
makedepends=(cargo)
13
_archive="$pkgname-$pkgver"
14
source=("$url/archive/refs/tags/$pkgver/$_archive.tar.gz")
15
sha256sums=('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
29
prepare() {
30
_srcenv
31
cargo fetch --locked --target host-tuple
32
}
33
34
build() {
35
_srcenv
36
cargo build --frozen --release
37
}
38
39
check() {
40
_srcenv
41
cargo test --frozen
42
}
43
44
package () {
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) | Severity | Rules |
|---|---|---|
| 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 |