tokensave-bin

rNoz/tokensave-bin Checked 1 day ago

Automated packaging for tokensave (Semantic Code Intelligence for AI Coding Agents) as tokensave-bin AUR package (x86_64, aarch64)

Reproducible Arch Linux package metadata for the prebuilt TokenSave command-line tool. The package reuses the upstream x86_64 and aarch64 Linux releases rather than compiling Rust source code. The release archives and matching upstream MIT license are pinned by SHA-256 in PKGBUILD; the updater additionally cross-checks the GitHub-reported asset digests against the upstream SHA256SUMS. Every change is validated in CI with namcap, dual-architecture builds, shellcheck, flake8, and a pinned aurscan security audit. Runtime dependencies are glibc and libgcc. TokenSave is maintained at .

Summary extracted from the README.

tokensave (AUR package)

Automated packaging for tokensave (Semantic Code Intelligence for AI Coding Agents) as tokensave-bin AUR package (x86_64, aarch64)

Package CI AUR version Security audit: aurscan Upstream release License Arch

Reproducible Arch Linux package metadata for the prebuilt TokenSave command-line tool. The package reuses the upstream x86_64 and aarch64 Linux releases rather than compiling Rust source code.

Package

  • Installed command: /usr/bin/tokensave

The release archives and matching upstream MIT license are pinned by SHA-256 in PKGBUILD; the updater additionally cross-checks the GitHub-reported asset digests against the upstream SHA256SUMS. Every change is validated in CI with namcap, dual-architecture builds, shellcheck, flake8, and a pinned aurscan security audit. Runtime dependencies are glibc and libgcc.

Upstream

TokenSave is maintained at https://github.com/aovestdipaperino/tokensave. This repository packages its prebuilt x86_64 and aarch64 Linux releases without compiling or modifying the upstream executable.

Installation

Install from the AUR with an AUR helper:

yay -S tokensave-bin

Build manually from the package repository:

git clone https://aur.archlinux.org/tokensave-bin.git
cd tokensave-bin
makepkg -si

Install an already-built package directly:

# x86_64
sudo pacman -U tokensave-bin-7.17.3-1-x86_64.pkg.tar.zst

# aarch64
sudo pacman -U tokensave-bin-7.17.3-1-aarch64.pkg.tar.zst

Local verification

The package can be built without installing it:

# Verify PKGBUILD syntax and .SRCINFO
bash -n PKGBUILD
makepkg --printsrcinfo | diff -u .SRCINFO -

# Verify and build x86_64
makepkg --verifysource --force
makepkg --cleanbuild --clean --force

# Verify and build aarch64
sed 's/CARCH=.*/CARCH="aarch64"/; s/CHOST=.*/CHOST="aarch64-unknown-linux-gnu"/' /etc/makepkg.conf > /tmp/makepkg-aarch64.conf
grep -q '^CARCH="aarch64"' /tmp/makepkg-aarch64.conf
makepkg --config /tmp/makepkg-aarch64.conf --verifysource --force
makepkg --config /tmp/makepkg-aarch64.conf --cleanbuild --clean --force

# Inspect packages
namcap PKGBUILD tokensave-bin-*-x86_64.pkg.tar.zst tokensave-bin-*-aarch64.pkg.tar.zst

The package contents are intentionally small:

/usr/bin/tokensave
/usr/share/licenses/tokensave-bin/LICENSE

For the complete maintenance procedure, see docs/maintenance.md.

License

Repository metadata, documentation, and automation are Apache-2.0. The packaged TokenSave executable and its included license are upstream works distributed under the MIT license. This repository is not affiliated with or endorsed by the upstream project.