Build Arch Packages

From Mage
Jump to: navigation, search

A quick and dirty guide to building Linux packages on Arch.

Get the build tools

pacman -S base-devel git

group details - base-devel

package details - git



Acquire the files

Clone the git repo of the package you wish to build.

git clone https://aur.archlinux.org/package_name.git

Git repos and images can be found on the AUR.



Build and install the package

DO NOT PERFORM THESE STEPS AS ROOT. Building packages as root could lead to unforseen consequences.

cd package_name
makepkg -si