~groctel/pkgbuilds

Where I test my PKGBUILD files
fix(paur-container): ManimPango failed due to non-UTF-8 locales
python-manimpango: Add check function
python-manimpango: Update to v0.6.0

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~groctel/pkgbuilds
read/write
git@git.sr.ht:~groctel/pkgbuilds

You can also use your local clone with git send-email.

#pkgbuilds

Where I test my AUR PKGBUILD files

#Dependencies

You need an Arch Linux host system with systemd-nspawn and archstrap. Operations with the container from the host system require sudo.

#Usage

First, initialise the container:

./paur-container -m init

Then, you can test the installation of any package in a clean environment:

# For example, to test `manim`
./paur-container -m test -p manim

The environment is ephemeral, meaning that it will be reset after every run. Both paur and the packages/ directory are bound to the container, so you don't need to update the executable and the PKGBUILD and .SRCINFO files are automatically updated in the host system.

NOTE:

Keep in mind that paur will greedily remove ALL directories it finds during cleanup. If you're not sure about the side effects this could have in your machine, make a backup of your packages/ directory before testing.

To clean up the container, remove its directory as root.