erg-git
maintainer lmartinez-mirror
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from the project's own Git repository, which is a normal AUR practice; the SKIP'd checksum is common for git sources and does not imply remote code execution risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from the project's own Git repository, which is a normal AUR practice; the SKIP'd checksum is common for git sources and does not imply remote code execution risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
2
# Contributor: yuioto <yuiotochan@outlook.com>
3
# Contributor: Shunsuke Shibayama <sbym1346@gmail.com>
4
5
pkgname=erg-git
6
_pkg="${pkgname%-git}"
7
pkgver=0.6.53.r2.gb8bc4e33
8
pkgrel=1
9
pkgdesc='Statically typed language that builds upon the Python ecosystem'
10
url="https://github.com/erg-lang/erg"
11
license=('MIT OR Apache-2.0')
12
arch=(x86_64)
13
provides=("$_pkg")
14
conflicts=("$_pkg")
15
depends=(glibc libgcc libgcc_s.so)
16
makedepends=(cargo git)
17
optdepends=(python39 python310 python311)
18
source=("$_pkg::git+$url.git")
19
sha256sums=('SKIP')
20
21
# By enabling the --features flag, you can change the language in which error messages are displayed.
22
#
23
# Japanese
24
# cargo install erg --features japanese
25
#
26
# Chinese (Simplified)
27
# cargo install erg --features simplified_chinese
28
#
29
# Chinese (Traditional)
30
# cargo install erg --features traditional_chinese
31
32
pkgver() {
33
git -C "$_pkg" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
34
}
35
36
prepare() {
37
cd "$_pkg"
38
cargo fetch --locked --target host-tuple
39
}
40
41
build() {
42
export RUSTUP_TOOLCHAIN=stable
43
export CARGO_TARGET_DIR=target
44
cd "$_pkg"
45
cargo build --release --frozen --features full
46
}
47
48
## Tests don't work with latest Arch release of Python
49
# check() {
50
# export RUSTUP_TOOLCHAIN=stable
51
# cd "$_pkg"
52
# cargo test --frozen --features full -- --skip test_vm_embedding --no-capture
53
# }
54
55
package() {
56
cd "$_pkg"
57
install -Dm755 "target/release/$_pkg" -t "$pkgdir/usr/bin"
58
install -Dm644 LICENSE-{MIT,APACHE} -t "$pkgdir/usr/share/licenses/$pkgname"
59
install -Dm644 README{,_zh-CN,_zh-TW,_JA}.md -t "$pkgdir/usr/share/doc/$pkgname"
60
}
61
Changes since previous scan
--- PKGBUILD @ 2026-07-22 00:29+++ PKGBUILD @ 2026-08-03 00:08@@ -1,26 +1,21 @@-# Maintainer: yuioto <yuiotochan@outlook.com>-# Contributor: Luis Martinez <luis dot martinez at disroot dot org>+# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>+# Contributor: yuioto <yuiotochan@outlook.com> # Contributor: Shunsuke Shibayama <sbym1346@gmail.com> pkgname=erg-git _pkg="${pkgname%-git}"-pkgver=0.6.7.r0.g86eaba39-_tag=v0.6.7-# _tag="$(git -C "$_pkg" describe --abbrev=0)"+pkgver=0.6.53.r2.gb8bc4e33 pkgrel=1 pkgdesc='Statically typed language that builds upon the Python ecosystem' url="https://github.com/erg-lang/erg"-license=('MIT' 'Apache')-arch=('x86_64')+license=('MIT OR Apache-2.0')+arch=(x86_64) provides=("$_pkg")-conflicts=("$_pkg" "$_pkg-bin")-depends=('python')-makedepends=('cargo' 'git')--# If you want to use the latest commit, you can use the following command, but this can cause errors.-# source=("$_pkg::git+$url.git")--source=("$_pkg::git+$url.git#tag=$_tag")+conflicts=("$_pkg")+depends=(glibc libgcc libgcc_s.so)+makedepends=(cargo git)+optdepends=(python39 python310 python311)+source=("$_pkg::git+$url.git") sha256sums=('SKIP') # By enabling the --features flag, you can change the language in which error messages are displayed.@@ -33,36 +28,34 @@ # # Chinese (Traditional) # cargo install erg --features traditional_chinese-#-# Debugging mode (for contributors)-# cargo install erg --features debug pkgver() {- git -C "$_pkg" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'+ git -C "$_pkg" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./' } prepare() {- cd "$_pkg"- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"+ cd "$_pkg"+ cargo fetch --locked --target host-tuple } build() {- export RUSTUP_TOOLCHAIN=stable- export CARGO_TARGET_DIR=target- cd "$_pkg"- cargo build --release --frozen+ export RUSTUP_TOOLCHAIN=stable+ export CARGO_TARGET_DIR=target+ cd "$_pkg"+ cargo build --release --frozen --features full } -check() {- export RUSTUP_TOOLCHAIN=stable- cd "$_pkg"- cargo test --frozen+## Tests don't work with latest Arch release of Python+# check() {+# export RUSTUP_TOOLCHAIN=stable+# cd "$_pkg"+# cargo test --frozen --features full -- --skip test_vm_embedding --no-capture+# }++package() {+ cd "$_pkg"+ install -Dm755 "target/release/$_pkg" -t "$pkgdir/usr/bin"+ install -Dm644 LICENSE-{MIT,APACHE} -t "$pkgdir/usr/share/licenses/$pkgname"+ install -Dm644 README{,_zh-CN,_zh-TW,_JA}.md -t "$pkgdir/usr/share/doc/$pkgname" } -package() {- cd "$_pkg"- install -Dm755 "target/release/$_pkg" -t "$pkgdir/usr/bin"- install -Dm644 LICENSE-{MIT,APACHE} -t "$pkgdir/usr/share/licenses/$pkgname"- install -Dm644 README{,_zh-CN,_zh-TW,_JA}.md -t "$pkgdir/usr/share/doc/$pkgname"-}-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 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 23:22:13 | MEDIUM | 1 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 07:10:24 | MEDIUM | 1 |
| 2026-06-18 16:11:54 | CLEAN | 0 |