Arch ABS
From wikinotes
The Archlinux ABS system allows you to modify and alter/recompile packages from the official repos.
Documentation
official docs https://wiki.archlinux.org/title/Arch_Build_System package index https://archlinux.org/packages/
Install
pacman -S asp # tool to checkout specific port
Usage
asp/git method
asp list-all # list all ports asp checkout ${PKG} # downloads to current dir # update pkg cd ${PKG} && \ asp update && \ git pull # Modify PKGBUILD (ex: update CFLAGS) # build the package cd ${PKG}/trunk && \ makepkg -s sudo pacman -U *.tar.xzsvn method
sudo pacman -S svn cd /home svn checkout --depth=empty svn://svn.archlinux.org/packages cd packages svn update <package_name> # grab latest svn log <package_name> | less # determine package release you want svn update -r1729 <package_name> # checkout specific package release # build the package as you normally would cd <package_name>/trunk makepkg -s sudo pacman -U *.tar.xz