octa-term-bin

LOW
maintainer Alvin 0 votes scanned 2026-08-24 19:24:22.399485
View on AUR
Why flagged

Package downloads a prebuilt Arch package from GitHub Releases and extracts it; source is from the project's own repository, checksum is provided, and no untrusted remote code execution occurs.

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%): Package downloads a prebuilt Arch package from GitHub Releases and extracts it; source is from the project's own repository, checksum is provided, and no untrusted remote code execution occurs.

PKGBUILD

1# Maintainer: cublueer <starriver_alvin@163.com>
2#
3# octa-term-bin:下载 GitHub Release 上预编译的 pkg.tar.zst 并安装,
4# 无需本机编译。资产由 packaging/arch/octa-term(源码包)构建后上传:
5# PACKAGER='cublueer <cublueer@users.noreply.github.com>' makepkg -Cf
6# gh release create v${pkgver} octa-term-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst
7
8pkgname=octa-term-bin
9pkgver=0.1.0
10pkgrel=1
11pkgdesc='终端无感数学计算:把 shell 输入行变成 Octave 计算器(预编译包)'
12arch=('x86_64')
13url='https://github.com/cublueer/octa-term'
14license=('MIT')
15options=('!strip' '!debug')
16export LC_ALL=C.UTF-8
17depends=('octave' 'libgcc' 'glibc')
18optdepends=(
19 'fish: fish shell integration (Enter 劫持、多行矩阵、自动续行)'
20 'bash: bash shell integration (单行兜底)'
21 'zsh: zsh shell integration (单行兜底)'
22)
23provides=('octa-term')
24conflicts=('octa-term')
25source=(
26 "octa-term-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst::https://github.com/cublueer/octa-term/releases/download/v${pkgver}/octa-term-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst"
27)
28sha256sums=(
29 'e7b27a757107137c0520d4bc55cb0198dff82a2745cfc71c3745b4bfbefe4655'
30)
31
32package() {
33 # 资产是完整包布局,但内部 pkgname 是 octa-term:
34 # 解到临时目录后按本包名重新安装,LICENSE 必须落在
35 # /usr/share/licenses/octa-term-bin/(namcap E 级要求)
36 local extracted="${srcdir}/extracted"
37 mkdir -p "${extracted}"
38 bsdtar -xf "${srcdir}/octa-term-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst" \
39 -C "${extracted}" \
40 --exclude '.BUILDINFO' --exclude '.MTREE' --exclude '.PKGINFO'
41 install -Dm755 "${extracted}/usr/bin/octa-term" "${pkgdir}/usr/bin/octa-term"
42 install -Dm644 "${extracted}/usr/share/licenses/octa-term/LICENSE" \
43 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-08-24 19:24:22 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