Arch ABS: Difference between revisions
From wikinotes
No edit summary |
|||
Line 11: | Line 11: | ||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= Install = | = Install = |
Latest revision as of 18:28, 25 December 2021
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