polystrata
LOW
maintainer bencevarga666
0 votes
scanned 2026-10-23 13:37:25.003836
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: bencevarga <bence@varga.bio>
2
# Upstream tag: v0.1.45-poly.2 (pkgver cannot contain a hyphen, so - becomes .)
3
4
pkgname=polystrata
5
pkgver=0.1.45.poly.2
6
pkgrel=1
7
pkgdesc='Run large AI models on your own PC: Qwen3.8-Flash-Next, GLM 5.3 Flash, DeepSeek V4 Flash and more, on NVIDIA or AMD GPUs'
8
arch=('any')
9
url='https://github.com/VecSzn/PolyStrata'
10
license=('MIT')
11
# The engine is compiled on the user's PC on the first start (the GPU decides
12
# CUDA or HIP), so the build tools are runtime dependencies here.
13
depends=('python' 'gcc' 'git')
14
optdepends=(
15
'cuda: NVIDIA GPU engine (upstream builds with CUDA 13.0; nvcc is found on PATH or in /opt/cuda*)'
16
'rocm-hip-sdk: AMD GPU engine through a system ROCm 7 in /opt/rocm (otherwise ROCm is downloaded into the venv on first start)'
17
)
18
install=polystrata.install
19
_tag="v0.1.45-poly.2"
20
source=("https://github.com/VecSzn/PolyStrata/archive/refs/tags/$_tag.tar.gz"
21
'polystrata.sh')
22
sha256sums=('ed1e197091c6d5fa99da387142d89ba7f5254bb53c340575c3c8a250f598c764'
23
'1913c231339ef70d671afdff518de808b7bb9831f4d1cfa3be00807acbe4fcd8')
24
25
# The release asset is the Windows engine; on Linux upstream installs by
26
# cloning this tree and running ./setup.sh. The package ships that tree under
27
# /opt plus a launcher that copies it into $HOME (setup.sh writes its venv,
28
# the compiled engine and the models next to itself, without root) and runs
29
# upstream's own setup.sh.
30
31
prepare() {
32
sed -e "s/@@PKGVER@@/$pkgver/" -e "s/@@PKGREL@@/$pkgrel/" \
33
"$srcdir/polystrata.sh" > "$srcdir/polystrata-launcher.sh"
34
}
35
36
package() {
37
install -Dm755 "$srcdir/polystrata-launcher.sh" "$pkgdir/usr/bin/polystrata"
38
install -Dm755 "$srcdir/polystrata-launcher.sh" "$pkgdir/usr/bin/polystrata-update"
39
mkdir -p "$pkgdir/opt/polystrata"
40
cp -a "$srcdir/PolyStrata-0.1.45-poly.2/." "$pkgdir/opt/polystrata/"
41
install -Dm644 "$srcdir/PolyStrata-0.1.45-poly.2/LICENSE" \
42
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 13:37:25 | Low | 1 |
| 2026-10-23 00:02:19 | Clean | 2 |
| 2026-10-22 23:36:19 | Low | 1 |