Arch Linux package testing tube.
aurtube safely fetches, builds, and tests AUR packages (also official Arch Linux repo packages) inside a sandbox. Your system stays untouched. Don't want them anymore? Remove them completely. Or install them properly.
aurtube wofi # test wofi (or any package) in the tube
aurtube wofi --show drun # pass argsWell, you need Arch Linux to start with.
bubblewrap(pacman -S bubblewrap)gitbase-devel
git clone https://github.com/diggingforce/aurtube.git
cd aurtubecargo build --releasecp target/release/aurtube ~/.local/bin/aurtube <package> [args...]Pipeline:
- Pulls metadata from AUR or Arch Repo.
- Installs any missing build dependencies on the host.
- Clones the PKGBUILD into the sandbox tube.
- Compiles inside the tube.
- Unpacks all built packages inside the tube.
- Launches the test menu. Lets you run the package, pass custom flags, or drop into a shell.
- Afterwards, you choose: Install, Save, or Delete.
aurtube <package> # test a package
aurtube <package> [args...] # pass args directly to the binary
aurtube build <package> -o <dir> # build and export .pkg.tar.zst
aurtube shell # open a sandbox shell/tube
aurtube shell --package <package> # shell with a PKGBUILD already loaded
Compiles in the sandbox and copies all .pkg.tar.zst files to your chosen directory.
aurtube build <package> -o ./output/aurtube shell
# Sandbox with a PKGBUILD
aurtube shell --package <package>And that's all!
This project is licensed under the MIT License. See the LICENSE file for details.